diff options
author | Akshay <[email protected]> | 2020-08-16 07:52:59 +0100 |
---|---|---|
committer | Akshay <[email protected]> | 2020-08-16 07:52:59 +0100 |
commit | d29fb7b3b1c6fd91c4a086692256e8fd0ff6bbbf (patch) | |
tree | 996109a41051377c263a40896daee15b48b726bc /ligature_plugins | |
parent | 6ba7eab5847ab65331b975437150990c48b59024 (diff) |
add rust ligations
Diffstat (limited to 'ligature_plugins')
-rw-r--r-- | ligature_plugins/rust.vim | 5 |
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 | |||
19 | syn match rustIsEqual /==/ contains=FirstEqual,SecondEqual | 19 | syn match rustIsEqual /==/ contains=FirstEqual,SecondEqual |
20 | syn match FirstEqual /=/ contained containedin=rustIsEqual conceal cchar= | 20 | syn match FirstEqual /=/ contained containedin=rustIsEqual conceal cchar= |
21 | syn match SecondEqual /=\@<=>/ contained containedin=rustIsEqual conceal cchar= | 21 | syn match SecondEqual /=\@<=>/ contained containedin=rustIsEqual conceal cchar= |
22 | |||
23 | " #[ | ||
24 | syn match rustAttributeHash /#\[/ contains=rustAH,rustAB | ||
25 | syn match rustAH /#/ contained containedin=rustAH conceal cchar= | ||
26 | syn match rustAB /\[/ contained containedin=rustAB conceal cchar= | ||