diff options
Diffstat (limited to 'vim/after/syntax/vim.vim')
-rw-r--r-- | vim/after/syntax/vim.vim | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/vim/after/syntax/vim.vim b/vim/after/syntax/vim.vim index e67803cc..bd7d8274 100644 --- a/vim/after/syntax/vim.vim +++ b/vim/after/syntax/vim.vim @@ -1,8 +1,10 @@ -" Remove special highlighting for double-quoted strings in comments +" Remove special highlighting for double-quoted strings and colon labels in +" comments syntax clear vimCommentString +syntax clear vimCommentTitle " Highlight :CompilerSet commands like :set/:setlocal, but only in compiler -" scripts in recognisable paths +" scripts in recognizable paths if expand('%:p:h:t') ==# 'compiler' \ && expand('%:e') ==# 'vim' syntax keyword vimCommand contained |