summaryrefslogtreecommitdiffstats
path: root/after
diff options
context:
space:
mode:
Diffstat (limited to 'after')
-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