File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -22,4 +22,10 @@ def foo(bar // :baz)
22
22
:queue.in x, 5
23
23
EOF
24
24
end
25
+
26
+ it 'does not highlight operators inside of elixirIds' do
27
+ expect ( <<~EOF ) . not_to include_elixir_syntax ( 'elixirOperator' , 'in' )
28
+ incoming
29
+ EOF
30
+ end
25
31
end
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ syn keyword elixirSelf self
36
36
" This unfortunately also matches function names in function calls
37
37
syn match elixirUnusedVariable contained ' \v %(^|[^.])@<=<_\w *>'
38
38
39
- syn match elixirOperator ' \v\. @<!%(and|or|in|not)'
39
+ syn match elixirOperator ' \v\. @<!< %(and|or|in|not)> '
40
40
syn match elixirOperator ' !==\| !=\| !'
41
41
syn match elixirOperator ' =\~\| ===\| ==\| ='
42
42
syn match elixirOperator ' <<<\| <<\| <=\| <-\| <'
You can’t perform that action at this time.
0 commit comments