mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-05 04:04:12 +01:00
Don't attempt to highlight trailing comments in command script files.
Trailing comments are no longer supported. Closes issue #583. --HG-- extra : rebase_source : c953f246da1291a3fe065cbf0e38ca1162f1c53d
This commit is contained in:
@@ -699,22 +699,20 @@ execute 'syn region <name>Css matchgroup=<name>CssDelimiter'
|
||||
|
||||
syn match <name>Notation "<[0-9A-Za-z-]\+>"
|
||||
|
||||
syn match <name>Comment +".*$+ contains=<name>Todo,@Spell
|
||||
syn keyword <name>Todo FIXME NOTE TODO XXX contained
|
||||
|
||||
syn region <name>String start="\z(["']\)" end="\z1" skip="\\\\\|\\\z1" oneline
|
||||
|
||||
syn match <name>LineComment +^\s*".*$+ contains=<name>Todo,@Spell
|
||||
syn match <name>Comment +^\s*".*$+ contains=<name>Todo,@Spell
|
||||
|
||||
" NOTE: match vim.vim highlighting group names
|
||||
hi def link <name>AutoCmd <name>Command
|
||||
hi def link <name>AutoEvent Type
|
||||
hi def link <name>Command Statement
|
||||
hi def link <name>Comment Comment
|
||||
hi def link <name>JavaScriptDelimiter Delimiter
|
||||
hi def link <name>CssDelimiter Delimiter
|
||||
hi def link <name>Notation Special
|
||||
hi def link <name>LineComment Comment
|
||||
hi def link <name>Comment Comment
|
||||
hi def link <name>Option PreProc
|
||||
hi def link <name>SetMod <name>Option
|
||||
hi def link <name>String String
|
||||
|
||||
Reference in New Issue
Block a user