vim: Don't link conceals to operators if we're concealing mod paths, because that makes mod paths show up as operators.

This commit is contained in:
Patrick Walton 2012-08-02 11:47:45 -07:00
parent 63b70b2370
commit 0646890f63

View File

@ -26,5 +26,9 @@ syn match rustNiceOperator "=>" contains=rustFatRightArrowHead,rustFatRightArrow
syn match rustNiceOperator /\<\@!_\(_*\>\)\@=/ conceal cchar=
hi link rustNiceOperator Operator
hi! link Conceal Operator
if !exists('g:rust_conceal_mod_path')
hi! link Conceal Operator
endif
setlocal conceallevel=2