summaryrefslogtreecommitdiffstats
path: root/ftplugin/elixir.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ftplugin/elixir.vim')
-rw-r--r--ftplugin/elixir.vim7
1 files changed, 1 insertions, 6 deletions
diff --git a/ftplugin/elixir.vim b/ftplugin/elixir.vim
index 576e4641..04388efd 100644
--- a/ftplugin/elixir.vim
+++ b/ftplugin/elixir.vim
@@ -1,10 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'elixir') == -1
-" Vim filetype plugin
-" Language: Elixir
-" Maintainer: Carlos Galdino <carloshsgaldino@gmail.com>
-" URL: https://github.com/elixir-lang/vim-elixir
-
if (exists("b:did_ftplugin"))
finish
endif
@@ -15,7 +10,7 @@ let b:did_ftplugin = 1
if exists("loaded_matchit") && !exists("b:match_words")
let b:match_ignorecase = 0
- let b:match_words = '\<\%(do\|fn\)\:\@!\>' .
+ let b:match_words = '\:\@<!\<\%(do\|fn\)\:\@!\>' .
\ ':' .
\ '\<\%(else\|elsif\|catch\|after\|rescue\)\:\@!\>' .
\ ':' .