mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
mcedit: syntax: associate node executables with JavaScript syntax.
Some distros name the binary 'nodejs', some 'node'. Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
28e4dfd059
commit
b218a28a45
@ -124,7 +124,7 @@ include properties.syntax
|
||||
file ..\*\\.(cs|CS)$ C\#\sProgram
|
||||
include cs.syntax
|
||||
|
||||
file ..\*\\.(js|JS)$ JavaScript\sProgram
|
||||
file ..\*\\.(js|JS)$ JavaScript\sProgram ^#!.\*[\s/](node|nodejs)\\b
|
||||
include js.syntax
|
||||
|
||||
file ..\*\\.(as|AS)$ ActionScript\sProgram
|
||||
|
Loading…
Reference in New Issue
Block a user