Skip to content

Commit

Permalink
Ticket #3890: syntax - add mjs extension to JavaScript pattern
Browse files Browse the repository at this point in the history
Signed-off-by: Yury V. Zaytsev <[email protected]>
  • Loading branch information
zyv committed Dec 23, 2017
1 parent 4fcc19b commit a778825
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion misc/syntax/Syntax.in
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ include properties.syntax
file ..\*\\.(?i:cs)$ C\#\sProgram
include cs.syntax

file ..\*\\.(?i:js)$ JavaScript\sProgram ^#!.\*[\s/](node|nodejs)\\b
file ..\*\\.(?i:m?js)$ JavaScript\sProgram ^#!.\*[\s/](node|nodejs)\\b
include js.syntax

file ..\*\\.(?i:ts)$ TypeScript\sProgram
Expand Down

0 comments on commit a778825

Please sign in to comment.