Skip to content

Commit

Permalink
add rust ligations
Browse files Browse the repository at this point in the history
  • Loading branch information
oppiliappan committed Aug 16, 2020
1 parent 6ba7eab commit d29fb7b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ligature_plugins/rust.vim
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,8 @@ syn match ImpliesHead /=\@<=>/ contained containedin=rustImplies conceal ccha
syn match rustIsEqual /==/ contains=FirstEqual,SecondEqual
syn match FirstEqual /=/ contained containedin=rustIsEqual conceal cchar=
syn match SecondEqual /=\@<=>/ contained containedin=rustIsEqual conceal cchar=

" #[
syn match rustAttributeHash /#\[/ contains=rustAH,rustAB
syn match rustAH /#/ contained containedin=rustAH conceal cchar=
syn match rustAB /\[/ contained containedin=rustAB conceal cchar=

0 comments on commit d29fb7b

Please sign in to comment.