mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-22 17:25:45 +01:00
Fix Vim highlighting of pathological boolean option bang inversions.
--HG-- extra : rebase_source : b535275dc994f5c68533f1f2048cee35bafdc019
This commit is contained in:
@@ -50,14 +50,12 @@ syn match melodactylAutoEventList "\(\a\+,\)*\a\+" contained contains=melodactyl
|
|||||||
syn region melodactylSet matchgroup=melodactylCommand start="\%(^\s*:\=\)\@<=\<\%(setl\%[ocal]\|setg\%[lobal]\|set\=\)\=\>"
|
syn region melodactylSet matchgroup=melodactylCommand start="\%(^\s*:\=\)\@<=\<\%(setl\%[ocal]\|setg\%[lobal]\|set\=\)\=\>"
|
||||||
\ end="$" keepend oneline contains=melodactylOption,melodactylString
|
\ end="$" keepend oneline contains=melodactylOption,melodactylString
|
||||||
|
|
||||||
syn keyword melodactylOption activate act altwildmode awim autocomplete au nobanghist nobh cdpath cd complete cpt defsearch
|
syn keyword melodactylOption activate act altwildmode awim autocomplete au cdpath cd complete cpt defsearch ds editor
|
||||||
\ ds editor encoding enc noerrorbells noeb eventignore ei noexrc noex extendedhinttags eht fileencoding fenc followhints fh
|
\ encoding enc eventignore ei extendedhinttags eht fileencoding fenc followhints fh guioptions go helpfile hf hintinputs hin
|
||||||
\ nofullscreen nofs guioptions go helpfile hf hintinputs hin hintkeys hk hintmatching hm hinttags ht hinttimeout hto history
|
\ hintkeys hk hintmatching hm hinttags ht hinttimeout hto history hi laststatus ls loadplugins lpl mapleader ml maxitems
|
||||||
\ hi nohlsearch nohls noignorecase noic noincsearch nois noinsertmode noim nojsdebugger nojsd laststatus ls nolinksearch nolks
|
\ messages msgs newtab nextpattern pageinfo pa popups pps previouspattern runtimepath rtp scroll scr shell sh shellcmdflag
|
||||||
\ loadplugins lpl mapleader ml maxitems messages msgs nomore newtab nextpattern noonline pageinfo pa popups pps
|
\ shcf showstatuslinks ssli showtabline stal suggestengines titlestring urlseparator us verbose vbs wildanchor wia
|
||||||
\ previouspattern runtimepath rtp scroll scr shell sh shellcmdflag shcf noshowmode nosmd showstatuslinks ssli showtabline stal
|
\ wildcase wic wildignore wig wildmode wim wildsort wis wordseparators wsp
|
||||||
\ 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
|
|
||||||
\ contained nextgroup=melodactylSetMod
|
\ contained nextgroup=melodactylSetMod
|
||||||
|
|
||||||
let s:toggleOptions = ["banghist", "bh", "errorbells", "eb", "exrc", "ex", "fullscreen", "fs", "hlsearch", "hls",
|
let s:toggleOptions = ["banghist", "bh", "errorbells", "eb", "exrc", "ex", "fullscreen", "fs", "hlsearch", "hls",
|
||||||
|
|||||||
@@ -50,13 +50,12 @@ syn match pentadactylAutoEventList "\(\a\+,\)*\a\+" contained contains=pentadact
|
|||||||
syn region pentadactylSet matchgroup=pentadactylCommand start="\%(^\s*:\=\)\@<=\<\%(setl\%[ocal]\|setg\%[lobal]\|set\=\)\=\>"
|
syn region pentadactylSet matchgroup=pentadactylCommand start="\%(^\s*:\=\)\@<=\<\%(setl\%[ocal]\|setg\%[lobal]\|set\=\)\=\>"
|
||||||
\ end="$" keepend oneline contains=pentadactylOption,pentadactylString
|
\ end="$" keepend oneline contains=pentadactylOption,pentadactylString
|
||||||
|
|
||||||
syn keyword pentadactylOption activate act altwildmode awim autocomplete au cdpath cd complete cpt cookies ck defsearch ds
|
syn keyword pentadactylOption activate act altwildmode awim autocomplete au cdpath cd complete cpt defsearch ds editor
|
||||||
\ editor encoding enc eventignore ei extendedhinttags eht fbwhitelist fbw fileencoding fenc followhints fh guioptions go
|
\ encoding enc eventignore ei extendedhinttags eht fileencoding fenc followhints fh guioptions go helpfile hf hintinputs hin
|
||||||
\ helpfile hf hintinputs hin hintkeys hk hintmatching hm hinttags ht hinttimeout hto history hi laststatus ls
|
\ hintkeys hk hintmatching hm hinttags ht hinttimeout hto history hi laststatus ls loadplugins lpl mapleader ml maxitems
|
||||||
\ loadplugins lpl mapleader ml maxitems messages msgs newtab nextpattern pageinfo pa popups pps previouspattern runtimepath
|
\ messages msgs newtab nextpattern pageinfo pa popups pps previouspattern runtimepath rtp sanitizeitems si sanitizetimespan
|
||||||
\ rtp sanitizeitems si sanitizetimespan sts scroll scr shell sh shellcmdflag shcf showstatuslinks ssli showtabline stal
|
\ sts scroll scr shell sh shellcmdflag shcf showstatuslinks ssli showtabline stal suggestengines titlestring urlseparator us
|
||||||
\ suggestengines titlestring urlseparator verbose vbs wildanchor wia wildcase wic wildignore wig wildmode wim wildsort wis
|
\ verbose vbs wildanchor wia wildcase wic wildignore wig wildmode wim wildsort wis wordseparators wsp
|
||||||
\ wordseparators wsp
|
|
||||||
\ contained nextgroup=pentadactylSetMod
|
\ contained nextgroup=pentadactylSetMod
|
||||||
|
|
||||||
let s:toggleOptions = ["banghist", "bh", "errorbells", "eb", "exrc", "ex", "flashblock", "fb", "fullscreen", "fs", "hlsearch",
|
let s:toggleOptions = ["banghist", "bh", "errorbells", "eb", "exrc", "ex", "flashblock", "fb", "fullscreen", "fs", "hlsearch",
|
||||||
|
|||||||
@@ -44,14 +44,12 @@ syn match teledactylAutoEventList "\(\a\+,\)*\a\+" contained contains=teledactyl
|
|||||||
syn region teledactylSet matchgroup=teledactylCommand start="\%(^\s*:\=\)\@<=\<\%(setl\%[ocal]\|setg\%[lobal]\|set\=\)\=\>"
|
syn region teledactylSet matchgroup=teledactylCommand start="\%(^\s*:\=\)\@<=\<\%(setl\%[ocal]\|setg\%[lobal]\|set\=\)\=\>"
|
||||||
\ end="$" keepend oneline contains=teledactylOption,teledactylString
|
\ end="$" keepend oneline contains=teledactylOption,teledactylString
|
||||||
|
|
||||||
syn keyword teledactylOption altwildmode awim archivefolder autocomplete au nobanghist nobh cdpath cd complete cpt editor
|
syn keyword teledactylOption altwildmode awim archivefolder autocomplete au cdpath cd complete cpt editor eventignore ei
|
||||||
\ noerrorbells noeb eventignore ei noexrc noex extendedhinttags eht fileencoding fenc followhints fh nofullscreen nofs
|
\ extendedhinttags eht fileencoding fenc followhints fh guioptions go helpfile hf hintinputs hin hintkeys hk hintmatching hm
|
||||||
\ guioptions go helpfile hf hintinputs hin hintkeys hk hintmatching hm hinttags ht hinttimeout hto history hi nohlsearch nohls
|
\ hinttags ht hinttimeout hto history hi laststatus ls layout loadplugins lpl mapleader ml maxitems messages msgs nextpattern
|
||||||
\ noignorecase noic noincsearch nois noinsertmode noim nojsdebugger nojsd laststatus ls layout nolinksearch nolks loadplugins
|
\ pageinfo pa previouspattern runtimepath rtp scroll scr shell sh shellcmdflag shcf showstatuslinks ssli showtabline stal
|
||||||
\ lpl mapleader ml maxitems messages msgs nomore nextpattern pageinfo pa previouspattern runtimepath rtp scroll scr
|
\ titlestring urlseparator us verbose vbs wildanchor wia wildcase wic wildignore wig wildmode wim wildsort wis wordseparators
|
||||||
\ shell sh shellcmdflag shcf noshowmode nosmd showstatuslinks ssli showtabline stal nosmartcase noscs nostrictfocus nosf
|
\ wsp
|
||||||
\ titlestring nousermode noum verbose vbs novisualbell novb wildanchor wia wildcase wic wildignore wig wildmode wim wildsort
|
|
||||||
\ wis wordseparators wsp
|
|
||||||
\ contained nextgroup=teledactylSetMod
|
\ contained nextgroup=teledactylSetMod
|
||||||
|
|
||||||
let s:toggleOptions = ["banghist", "bh", "errorbells", "eb", "exrc", "ex", "fullscreen", "fs", "hlsearch", "hls",
|
let s:toggleOptions = ["banghist", "bh", "errorbells", "eb", "exrc", "ex", "fullscreen", "fs", "hlsearch", "hls",
|
||||||
|
|||||||
Reference in New Issue
Block a user