Skip to content

Commit 1dfbb9d

Browse files
committed
fix(batch): Using "::" as comments might fail (eg. within IF or FOR)
1 parent 3ebf9cd commit 1dfbb9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

batch.nanorc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
syntax "batch" "\.(bat|cmd)$"
66
header "^@[eE](cho|CHO) (on|off|ON|OFF)"
7-
comment "::"
7+
comment "REM "
88

99
# Native commands, symbols, and comparisons.
1010
icolor green "\<(ASSOC|CALL|CD|CLS|CMDEXTVERSION|COLOR|COPY|DATE|DEL|DIR|ECHO|ENDLOCAL|ERASE|ERRORLEVEL|EXIT|FOR|FTYPE|GOTO|IF|MD|MKLINK|MOVE|PATH|PAUSE|POPD|PROMPT|PUSHD|RD|REM|REN|SET|SETLOCAL|SHIFT|START|TIME|TITLE|TYPE|VER|VERIFY|VOL)\>"

0 commit comments

Comments
 (0)