We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4b74323 commit f988d35Copy full SHA for f988d35
demo/src/main/scripts/nanorc/args.nanorc
@@ -2,12 +2,12 @@ syntax "ARGS"
2
3
NUMBER: "\<[-]?[0-9]*([Ee][+-]?[0-9]+)?\>" "\<[-]?[0](\.[0-9]+)?\>"
4
STRING: "[a-zA-Z]+[a-zA-Z0-9]*"
5
-FUNCTION: "\<(console|grab|inspect)\>"
+COMMAND: "\<(console|grab|inspect|classloader)\>"
6
NULL: "\<null\>"
7
BOOLEAN: "\<(true|false)\>"
8
VARIABLE: "(\[|,)\s*[a-zA-Z0-9]*\s*:"
9
-PLAIN: "(:|\[|,|\])"
10
-OPTION: "\s+[-]{1,2}[a-zA-Z0-9\?]+(\s+|$)"
+OPTION: "(^|\s+)[-]{1,2}[a-zA-Z0-9\?]+(\s+|$|=)"
+PLAIN: "(:|\[|,|\]|=)"
11
$BLOCK_COMMENT: "/*, */"
12
$LINE_COMMENT: "//"
13
$BALANCED_DELIMITERS "", '"
0 commit comments