summaryrefslogtreecommitdiff
path: root/vimperator.vim
diff options
context:
space:
mode:
authorDoug Kearns <dougkearns@gmail.com>2007-10-17 00:33:32 +0000
committerDoug Kearns <dougkearns@gmail.com>2007-10-17 00:33:32 +0000
commit84bee2a914b51436edc5bb8ac585ef8ec1cd5f75 (patch)
tree7f3f253638db4628bdee5a9b6cb7076abab81b8b /vimperator.vim
parentd6f61d72785fc926893400e76003862a5ea6a4ec (diff)
downloadpentadactyl-84bee2a914b51436edc5bb8ac585ef8ec1cd5f75.tar.gz
further limit where vimperatorCommandWrapper matches
Diffstat (limited to 'vimperator.vim')
-rw-r--r--vimperator.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/vimperator.vim b/vimperator.vim
index 0aec3537..abb926a6 100644
--- a/vimperator.vim
+++ b/vimperator.vim
@@ -28,7 +28,7 @@ syn keyword vimperatorCommand addo[ns] b[uffer] ba[ck] bd[elete] beep bma[rk] bm
syn match vimperatorCommand "!" contained
" FIXME
-syn match vimperatorCommandWrapper "\%(!\|\<\h\w*\>\)" contains=vimperatorCommand
+syn match vimperatorCommandWrapper "\%(^\|:\|\s\)\@<=\%(!\|\h\w*\>\)" contains=vimperatorCommand
syn region vimperatorSet matchgroup=vimperatorCommand start="\<set\=\>" end="$" keepend oneline contains=vimperatorOption
syn keyword vimperatorOption activate act autohints ah noautohints noah complete cpt defsearch ds extendedhinttags eht