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
|
|
@ -53,4 +53,4 @@ color red "\\[0-7][0-7]?[0-7]?|\\x[0-9a-fA-F]+|\\[bfnrt'"\?\\]"
|
|||
|
||||
## Comments
|
||||
color brightblue start="^\s*/\*" end="\*/"
|
||||
color brightblue "^\s*//.*$"
|
||||
color brightblue "(^|\s)//.*$"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue