aboutsummaryrefslogtreecommitdiff
path: root/vim/after/syntax/vim.vim
blob: c5417413361d22c5d02dfa23f6da4956f12a2ac0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
" Remove special highlighting for double-quoted strings in comments
syntax clear vimCommentString

" Highlight :CompilerSet commands like :set/:setlocal
syntax keyword vimCommand contained
      \ CompilerSet
syntax region vimSet matchgroup=vimCommand
      \ start="\<CompilerSet\>"
      \ end="$" end="|" end="<[cC][rR]>"
      \ keepend
      \ matchgroup=vimNotation
      \ oneline
      \ skip="\%(\\\\\)*\\."
      \ contains=vimSetEqual
      \,vimOption
      \,vimErrSetting
      \,vimComment
      \,vimSetString
      \,vimSetMod