aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-05-29 03:19:09 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-05-29 03:19:09 +1200
commit346795c88cb7fe7fd766a2d725d393ce8a8bc0b0 (patch)
treed5a8fb60180c9d23b0eea04bd470e964bace4c18
parentMerge branch 'release/v4.58.0' (diff)
parentBump VERSION (diff)
downloaddotfiles-5.0.0.tar.gz (sig)
dotfiles-5.0.0.zip
Merge branch 'release/v5.0.0'v5.0.0
* release/v5.0.0: Bump VERSION Color Vim script :CompilerSet commands better
-rw-r--r--VERSION4
-rw-r--r--vim/after/syntax/vim.vim17
2 files changed, 19 insertions, 2 deletions
diff --git a/VERSION b/VERSION
index 9fca279b..2479f78c 100644
--- a/VERSION
+++ b/VERSION
@@ -1,2 +1,2 @@
-tejr dotfiles v4.58.0
-Tue May 28 15:02:42 UTC 2019
+tejr dotfiles v5.0.0
+Tue May 28 15:19:09 UTC 2019
diff --git a/vim/after/syntax/vim.vim b/vim/after/syntax/vim.vim
index acb5cdc5..c5417413 100644
--- a/vim/after/syntax/vim.vim
+++ b/vim/after/syntax/vim.vim
@@ -1,2 +1,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