Skip to content

Commit 177dd98

Browse files
committed
Fix highlight error
add highliht of `do:` remove highlight of `function`
1 parent 2d59d1d commit 177dd98

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

syntax/elixir.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ syn match elixirComment '#.*' contains=elixirTodo
1616
syn keyword elixirTodo FIXME NOTE TODO OPTIMIZE XXX HACK contained
1717

1818
syn keyword elixirKeyword is_atom is_binary is_bitstring is_boolean is_float is_function is_integer is_list is_number is_pid is_port is_record is_reference is_tuple is_exception
19-
syn keyword elixirKeyword case cond bc lc inlist inbits if unless try receive function
20-
syn keyword elixirKeyword exit raise throw after rescue catch else
19+
syn keyword elixirKeyword case cond bc lc inlist inbits if unless try receive
20+
syn keyword elixirKeyword exit raise throw after rescue catch else do
2121
syn keyword elixirKeyword quote unquote super
2222
syn match elixirKeyword '\<\%(->\)\>\s*'
2323

0 commit comments

Comments
 (0)