forked from lpsantil/ocp-shellinabox
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathjavascript.nanorc
More file actions
14 lines (14 loc) · 759 Bytes
/
Copy pathjavascript.nanorc
File metadata and controls
14 lines (14 loc) · 759 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
## Here is an example for JavaScript/ECMAScript.
##
syntax "javascript" "\.(js|JS|jsx|jspp|jsinc|es|es6|sjs|json|json5)$"
magic "JavaScript"
color green "\<(boolean|byte|char|double|float|int|long|new|short|this|transient|void)\>"
color green "\<(function|export|import|debugger|enum|let|await)\>"
color red "\<(break|case|catch|continue|default|do|else|finally|for|if|return|switch|throw|try|while)\>"
color cyan "\<(abstract|class|extends|final|implements|import|instanceof|interface|native|package|private|protected|public|static|strictfp|super|synchronized|throws|volatile)\>"
color red ""[^"]*""
color yellow "\<(true|false|null)\>"
color blue "//.*"
color blue start="/\*" end="\*/"
color brightblue start="/\*\*" end="\*/"
color ,green "[[:space:]]+$"