Skip to content

Commit

Permalink
Preserve conceal highlight on colorscheme change
Browse files Browse the repository at this point in the history
Thanks to @pyjarrett for the original bug report and patch.

Closes #70.
  • Loading branch information
chris-morgan committed Jun 5, 2016
1 parent ec04fdb commit b3cb55e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions after/syntax/rust.vim
Expand Up @@ -28,4 +28,7 @@ hi link rustNiceOperator Operator

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

0 comments on commit b3cb55e

Please sign in to comment.