aboutsummaryrefslogtreecommitdiff
path: root/ligature_plugins
diff options
context:
space:
mode:
authorAkshay <[email protected]>2020-08-16 07:52:59 +0100
committerAkshay <[email protected]>2020-08-16 07:52:59 +0100
commitd29fb7b3b1c6fd91c4a086692256e8fd0ff6bbbf (patch)
tree996109a41051377c263a40896daee15b48b726bc /ligature_plugins
parent6ba7eab5847ab65331b975437150990c48b59024 (diff)
add rust ligations
Diffstat (limited to 'ligature_plugins')
-rw-r--r--ligature_plugins/rust.vim5
1 files changed, 5 insertions, 0 deletions
diff --git a/ligature_plugins/rust.vim b/ligature_plugins/rust.vim
index a4a3d41..c742f35 100644
--- a/ligature_plugins/rust.vim
+++ b/ligature_plugins/rust.vim
@@ -19,3 +19,8 @@ syn match ImpliesHead /=\@<=>/ contained containedin=rustImplies conceal ccha
19syn match rustIsEqual /==/ contains=FirstEqual,SecondEqual 19syn match rustIsEqual /==/ contains=FirstEqual,SecondEqual
20syn match FirstEqual /=/ contained containedin=rustIsEqual conceal cchar= 20syn match FirstEqual /=/ contained containedin=rustIsEqual conceal cchar=
21syn match SecondEqual /=\@<=>/ contained containedin=rustIsEqual conceal cchar= 21syn match SecondEqual /=\@<=>/ contained containedin=rustIsEqual conceal cchar=
22
23" #[
24syn match rustAttributeHash /#\[/ contains=rustAH,rustAB
25syn match rustAH /#/ contained containedin=rustAH conceal cchar=
26syn match rustAB /\[/ contained containedin=rustAB conceal cchar=