Skip to content

Commit

Permalink
Add cjs to Javascript lexer
Browse files Browse the repository at this point in the history
.cjs is used to indicate a CommonJS in Node.js and other tools
  • Loading branch information
silverwind authored and alecthomas committed Jul 29, 2022
1 parent c13ff14 commit 111921a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lexers/embedded/javascript.xml
Expand Up @@ -6,6 +6,7 @@
<filename>*.js</filename>
<filename>*.jsm</filename>
<filename>*.mjs</filename>
<filename>*.cjs</filename>
<mime_type>application/javascript</mime_type>
<mime_type>application/x-javascript</mime_type>
<mime_type>text/x-javascript</mime_type>
Expand Down

0 comments on commit 111921a

Please sign in to comment.