diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2015-01-30 12:03:26 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2015-01-30 12:03:26 -0800 |
| commit | e2282f9cfbf47fcbc0cf637507215dadb8cb1fc5 (patch) | |
| tree | 8a080ee809e9f3ec18fad48ede8551121d485825 /src/etc/vim/after/syntax/rust.vim | |
| parent | ebee4b4b37bc860accb8ad41946edfd5acdfc6a8 (diff) | |
| parent | 017b3a543182006fa64bdc8c721969ae38c125f9 (diff) | |
| download | rust-e2282f9cfbf47fcbc0cf637507215dadb8cb1fc5.tar.gz rust-e2282f9cfbf47fcbc0cf637507215dadb8cb1fc5.zip | |
rollup merge of #21738: steveklabnik/move_out_editors
As we grow, these don't belong in-tree. http://internals.rust-lang.org/t/moving-editor-highlighting-into-their-own-repos/1395 * https://github.com/rust-lang/rust.vim * https://github.com/rust-lang/rust-mode * https://github.com/rust-lang/gedit-config * https://github.com/rust-lang/kate-config * https://github.com/rust-lang/nano-config * https://github.com/rust-lang/zsh-config
Diffstat (limited to 'src/etc/vim/after/syntax/rust.vim')
| -rw-r--r-- | src/etc/vim/after/syntax/rust.vim | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/src/etc/vim/after/syntax/rust.vim b/src/etc/vim/after/syntax/rust.vim deleted file mode 100644 index 735c1e153a6..00000000000 --- a/src/etc/vim/after/syntax/rust.vim +++ /dev/null @@ -1,31 +0,0 @@ -if !exists('g:rust_conceal') || !has('conceal') || &enc != 'utf-8' - finish -endif - -" For those who don't want to see `::`... -if exists('g:rust_conceal_mod_path') - syn match rustNiceOperator "::" conceal cchar=ㆍ -endif - -syn match rustRightArrowHead contained ">" conceal cchar= -syn match rustRightArrowTail contained "-" conceal cchar=⟶ -syn match rustNiceOperator "->" contains=rustRightArrowHead,rustRightArrowTail - -syn match rustFatRightArrowHead contained ">" conceal cchar= -syn match rustFatRightArrowTail contained "=" conceal cchar=⟹ -syn match rustNiceOperator "=>" contains=rustFatRightArrowHead,rustFatRightArrowTail - -syn match rustNiceOperator /\<\@!_\(_*\>\)\@=/ conceal cchar=′ - -" For those who don't want to see `pub`... -if exists('g:rust_conceal_pub') - syn match rustPublicSigil contained "pu" conceal cchar=* - syn match rustPublicRest contained "b" conceal cchar= - syn match rustNiceOperator "pub " contains=rustPublicSigil,rustPublicRest -endif - -hi link rustNiceOperator Operator - -if !exists('g:rust_conceal_mod_path') - hi! link Conceal Operator -endif |
