1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-02 22:54:11 +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,14 +50,12 @@ syn match melodactylAutoEventList "\(\a\+,\)*\a\+" contained contains=melodactyl
syn region melodactylSet matchgroup=melodactylCommand start="\%(^\s*:\=\)\@<=\<\%(setl\%[ocal]\|setg\%[lobal]\|set\=\)\=\>"
\ end="$" keepend oneline contains=melodactylOption,melodactylString
syn keyword melodactylOption activate act altwildmode awim autocomplete au nobanghist nobh cdpath cd complete cpt defsearch
\ ds editor encoding enc noerrorbells noeb eventignore ei noexrc noex extendedhinttags eht fileencoding fenc followhints fh
\ nofullscreen nofs guioptions go helpfile hf hintinputs hin hintkeys hk hintmatching hm hinttags ht hinttimeout hto history
\ hi nohlsearch nohls noignorecase noic noincsearch nois noinsertmode noim nojsdebugger nojsd laststatus ls nolinksearch nolks
\ loadplugins lpl mapleader ml maxitems messages msgs nomore newtab nextpattern noonline pageinfo pa popups pps
\ previouspattern runtimepath rtp scroll scr shell sh shellcmdflag shcf noshowmode nosmd showstatuslinks ssli showtabline stal
\ nosmartcase noscs nostrictfocus nosf suggestengines titlestring urlseparator nousermode noum verbose vbs novisualbell novb
\ wildanchor wia wildcase wic wildignore wig wildmode wim wildsort wis wordseparators wsp
syn keyword melodactylOption 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 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=melodactylSetMod
let s:toggleOptions = ["banghist", "bh", "errorbells", "eb", "exrc", "ex", "fullscreen", "fs", "hlsearch", "hls",

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",

View File

@@ -44,14 +44,12 @@ syn match teledactylAutoEventList "\(\a\+,\)*\a\+" contained contains=teledactyl
syn region teledactylSet matchgroup=teledactylCommand start="\%(^\s*:\=\)\@<=\<\%(setl\%[ocal]\|setg\%[lobal]\|set\=\)\=\>"
\ end="$" keepend oneline contains=teledactylOption,teledactylString
syn keyword teledactylOption altwildmode awim archivefolder autocomplete au nobanghist nobh cdpath cd complete cpt editor
\ noerrorbells noeb eventignore ei noexrc noex extendedhinttags eht fileencoding fenc followhints fh nofullscreen nofs
\ guioptions go helpfile hf hintinputs hin hintkeys hk hintmatching hm hinttags ht hinttimeout hto history hi nohlsearch nohls
\ noignorecase noic noincsearch nois noinsertmode noim nojsdebugger nojsd laststatus ls layout nolinksearch nolks loadplugins
\ lpl mapleader ml maxitems messages msgs nomore nextpattern pageinfo pa previouspattern runtimepath rtp scroll scr
\ shell sh shellcmdflag shcf noshowmode nosmd showstatuslinks ssli showtabline stal nosmartcase noscs nostrictfocus nosf
\ titlestring nousermode noum verbose vbs novisualbell novb wildanchor wia wildcase wic wildignore wig wildmode wim wildsort
\ wis wordseparators wsp
syn keyword teledactylOption altwildmode awim archivefolder autocomplete au cdpath cd complete cpt editor 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 layout loadplugins lpl mapleader ml maxitems messages msgs nextpattern
\ pageinfo pa previouspattern runtimepath rtp scroll scr shell sh shellcmdflag shcf showstatuslinks ssli showtabline stal
\ titlestring urlseparator us verbose vbs wildanchor wia wildcase wic wildignore wig wildmode wim wildsort wis wordseparators
\ wsp
\ contained nextgroup=teledactylSetMod
let s:toggleOptions = ["banghist", "bh", "errorbells", "eb", "exrc", "ex", "fullscreen", "fs", "hlsearch", "hls",