Skip to content

Commit

Permalink
Improve Elixir support
Browse files Browse the repository at this point in the history
  • Loading branch information
danieljaouen committed Sep 27, 2014
1 parent 6b83716 commit 2e2b4c2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plugin/endwise.vim
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ augroup endwise " {{{1
\ let b:endwise_syngroups = 'luaFunction,luaStatement,luaCond'
autocmd FileType elixir
\ let b:endwise_addition = 'end' |
\ let b:endwise_words = 'do' |
\ let b:endwise_words = 'do,fn' |
\ let b:endwise_pattern = '.*[^.:@$]\zs\<\%(do\|fn\)\>\ze\%(.*[^.:@$]\<end\>\)\@!' |
\ let b:endwise_syngroups = 'elixirKeyword'
autocmd FileType ruby
\ let b:endwise_addition = 'end' |
Expand Down

0 comments on commit 2e2b4c2

Please sign in to comment.