1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-30 06:52:26 +01:00

Fix Vim highlighting of pathological boolean option bang inversions.

--HG--
extra : rebase_source : b535275dc994f5c68533f1f2048cee35bafdc019
This commit is contained in:
Doug Kearns
2010-10-11 22:01:46 +11:00
parent 68b6df33ca
commit c081c92d3d
3 changed files with 18 additions and 23 deletions

View File

@@ -50,13 +50,12 @@ syn match pentadactylAutoEventList "\(\a\+,\)*\a\+" contained contains=pentadact
syn region pentadactylSet matchgroup=pentadactylCommand start="\%(^\s*:\=\)\@<=\<\%(setl\%[ocal]\|setg\%[lobal]\|set\=\)\=\>"
\ end="$" keepend oneline contains=pentadactylOption,pentadactylString
syn keyword pentadactylOption activate act altwildmode awim autocomplete au cdpath cd complete cpt cookies ck defsearch ds
\ editor encoding enc eventignore ei extendedhinttags eht fbwhitelist fbw fileencoding fenc followhints fh guioptions go
\ helpfile hf hintinputs hin hintkeys hk hintmatching hm hinttags ht hinttimeout hto history hi laststatus ls
\ loadplugins lpl mapleader ml maxitems messages msgs newtab nextpattern pageinfo pa popups pps previouspattern runtimepath
\ rtp sanitizeitems si sanitizetimespan sts scroll scr shell sh shellcmdflag shcf showstatuslinks ssli showtabline stal
\ suggestengines titlestring urlseparator verbose vbs wildanchor wia wildcase wic wildignore wig wildmode wim wildsort wis
\ wordseparators wsp
syn keyword pentadactylOption activate act altwildmode awim autocomplete au cdpath cd complete cpt defsearch ds editor
\ encoding enc eventignore ei extendedhinttags eht fileencoding fenc followhints fh guioptions go helpfile hf hintinputs hin
\ hintkeys hk hintmatching hm hinttags ht hinttimeout hto history hi laststatus ls loadplugins lpl mapleader ml maxitems
\ messages msgs newtab nextpattern pageinfo pa popups pps previouspattern runtimepath rtp sanitizeitems si sanitizetimespan
\ sts scroll scr shell sh shellcmdflag shcf showstatuslinks ssli showtabline stal suggestengines titlestring urlseparator us
\ verbose vbs wildanchor wia wildcase wic wildignore wig wildmode wim wildsort wis wordseparators wsp
\ contained nextgroup=pentadactylSetMod
let s:toggleOptions = ["banghist", "bh", "errorbells", "eb", "exrc", "ex", "flashblock", "fb", "fullscreen", "fs", "hlsearch",