summaryrefslogtreecommitdiff
path: root/vim/.vim/after/syntax
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2020-04-11 19:37:11 +0200
committerUrbain Vaes <urbain@vaes.uk>2020-04-11 19:37:11 +0200
commit1653d28086c07998be4e30e1d3857cb85e59aa0f (patch)
tree5d2e2e50668417cb552840d7662dbe5fc57f14cb /vim/.vim/after/syntax
parentdc6a4bfb76eb92519c3d17d790055a546cdb9df5 (diff)
Move auxiliary functions to plugin
Diffstat (limited to 'vim/.vim/after/syntax')
-rw-r--r--vim/.vim/after/syntax/vim.vim25
1 files changed, 0 insertions, 25 deletions
diff --git a/vim/.vim/after/syntax/vim.vim b/vim/.vim/after/syntax/vim.vim
deleted file mode 100644
index 78e8d37..0000000
--- a/vim/.vim/after/syntax/vim.vim
+++ /dev/null
@@ -1,25 +0,0 @@
-" Modification of default rule: vimHiCtermFg,vimHiCtermBg instead of vimHiCtermFgBg
-syntax cluster vimHiCluster remove=vimHiCtermFgBg
-syntax cluster vimHiCluster add=vimHiCtermFg,vimHiCtermBg
-
-" Modification of default rule: @vimHiNmbrFgCluster,@vimHiNmbrBgCluster instead of vimHiNmbr
-syntax match vimHiCtermFg /\cctermfg=/ contained nextgroup=@vimHiNmbrFgCluster,vimHiCtermColor,vimFgBgAttrib,vimHiCtermError
-syntax match vimHiCtermBg /\cctermbg=/ contained nextgroup=@vimHiNmbrBgCluster,vimHiCtermColor,vimFgBgAttrib,vimHiCtermError
-hi def link vimHiCtermFg vimHiCtermFgBg
-hi def link vimHiCtermBg vimHiCtermFgBg
-
-" Assemble syntax groups
-let syntax_groups_fg = "vimHiNmbrFg1"
-let syntax_groups_bg = "vimHiNmbrBg1"
-for i in range(2, 255)
- let syntax_groups_fg = syntax_groups_fg.",vimHiNmbrFg".i
- let syntax_groups_bg = syntax_groups_bg.",vimHiNmbrBg".i
-endfor
-
-exe "syntax cluster vimHiNmbrFgCluster contains=".syntax_groups_fg
-exe "syntax cluster vimHiNmbrBgCluster contains=".syntax_groups_bg
-
-for i in range(1, 255)
- exe "syntax match vimHiNmbrFg".i." /".i."/ contained"
- exe "syntax match vimHiNmbrBg".i." /".i."/ contained"
-endfor