We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c6ffafc commit 0f26c3aCopy full SHA for 0f26c3a
after/syntax/rust.vim
@@ -1,4 +1,6 @@
1
-if !get(g:, 'rust_conceal', 0) || !has('conceal') || &enc != 'utf-8'
+scriptencoding utf-8
2
+
3
+if !get(g:, 'rust_conceal', 0) || !has('conceal') || &encoding !=# 'utf-8'
4
finish
5
endif
6
@@ -29,8 +31,11 @@ hi link rustNiceOperator Operator
29
31
if !get(g:, 'rust_conceal_mod_path', 0)
30
32
hi! link Conceal Operator
33
- " And keep it after a colorscheme change
- au ColorScheme <buffer> hi! link Conceal Operator
34
+ augroup rust.vim.after
35
+ autocmd!
36
+ " And keep it after a colorscheme change
37
+ autocmd ColorScheme <buffer> hi! link Conceal Operator
38
+ augroup END
39
40
41
" vim: set et sw=4 sts=4 ts=8:
0 commit comments