mirror of
https://github.com/scopatz/nanorc.git
synced 2024-10-18 02:06:40 -07:00
Enhancements: Batch, HTML, JS
- [Batch] Fix that using "::" as comments sometimes failed
- [html] Tabs give 2 spaces by default
- [JS] Tabs give 2 spaces by default; Allow comments to be inline with code.
- [Sh] Also highlight PKGBUILD; Fix `${v%tail}` not highlighted; Use shellcheck as linter
This commit is contained in:
parent
f0e9c6c863
commit
3465607c5a
4 changed files with 6 additions and 5 deletions
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
syntax "batch" "\.(bat|cmd)$"
|
||||
header "^@[eE](cho|CHO) (on|off|ON|OFF)"
|
||||
comment "::"
|
||||
comment "REM "
|
||||
|
||||
# Native commands, symbols, and comparisons.
|
||||
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)\>"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue