Skip to content

Commit

Permalink
javascript.nanorc - highlights ending brace too
Browse files Browse the repository at this point in the history
  • Loading branch information
nooitaf authored Mar 17, 2019
1 parent 1f4a75b commit 8796764
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion javascript.nanorc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ syntax "JavaScript" "\.js$"
color blue "\<[-+]?([1-9][0-9]*|0[0-7]*|0x[0-9a-fA-F]+)([uU][lL]?|[lL][uU]?)?\>"
color blue "\<[-+]?([0-9]+\.[0-9]*|[0-9]*\.[0-9]+)([EePp][+-]?[0-9]+)?[fFlL]?"
color blue "\<[-+]?([0-9]+[EePp][+-]?[0-9]+)[fFlL]?"
color brightblue "[A-Za-z_][A-Za-z0-9_]*[[:space:]]*[(]"
color brightblue "[A-Za-z_][A-Za-z0-9_]*[[:space:]]*[(]|)"
color cyan "\<(break|case|catch|continue|default|delete|do|else|finally)\>"
color cyan "\<(for|function|get|if|in|instanceof|new|return|set|switch)\>"
color cyan "\<(switch|this|throw|try|typeof|var|void|while|with)\>"
Expand Down

0 comments on commit 8796764

Please sign in to comment.