summaryrefslogtreecommitdiffstats
path: root/after/syntax/rust.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2016-06-17 20:47:16 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2016-06-17 20:47:16 +0200
commit40c54bc12b5700f6bffed12209489e1f669f6423 (patch)
tree74b8abded0ba8ce296f3c358fefc16ec04e327a4 /after/syntax/rust.vim
parent44b3d860cb85ccb4edd52fb0dcf6a4102d12e82a (diff)
downloadvim-polyglot-2.9.2.tar.gz
vim-polyglot-2.9.2.zip
Updatev2.9.2
Diffstat (limited to 'after/syntax/rust.vim')
-rw-r--r--after/syntax/rust.vim5
1 files changed, 4 insertions, 1 deletions
diff --git a/after/syntax/rust.vim b/after/syntax/rust.vim
index cb13cd73..9a317956 100644
--- a/after/syntax/rust.vim
+++ b/after/syntax/rust.vim
@@ -28,8 +28,11 @@ endif
hi link rustNiceOperator Operator
-if !exists('g:rust_conceal_mod_path') && g:rust_conceal_mod_path != 0
+if !(exists('g:rust_conceal_mod_path') && g:rust_conceal_mod_path != 0)
hi! link Conceal Operator
+
+ " And keep it after a colorscheme change
+ au ColorScheme <buffer> hi! link Conceal Operator
endif
endif