From ed677c34d55a0e025b7008f29419498a3989cde2 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Mon, 4 Mar 2019 09:15:44 +0100 Subject: Update --- ftplugin/elixir.vim | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'ftplugin/elixir.vim') diff --git a/ftplugin/elixir.vim b/ftplugin/elixir.vim index debaa10a..f37efe68 100644 --- a/ftplugin/elixir.vim +++ b/ftplugin/elixir.vim @@ -30,7 +30,7 @@ let &l:path = \ &g:path \ ], ',') setlocal includeexpr=elixir#util#get_filename(v:fname) -setlocal suffixesadd=.ex,.exs,.eex,.erl,.yrl,.hrl +setlocal suffixesadd=.ex,.exs,.eex,.erl,.xrl,.yrl,.hrl let &l:define = 'def\(macro\|guard\|delegate\)\=p\=' @@ -49,9 +49,7 @@ onoremap [[ ':silent keeppatterns ?'.b:block_begin.' ][ ':silent keeppatterns /'.b:block_end .'' onoremap [] ':silent keeppatterns ?'.b:block_end .'' -silent! setlocal formatoptions-=t formatoptions+=croqlj - -let b:undo_ftplugin = 'setlocal sw< sts< et< isk< com< cms< path< inex< sua< def<'. +let b:undo_ftplugin = 'setlocal sw< sts< et< isk< com< cms< path< inex< sua< def< fo<'. \ '| unlet! b:match_ignorecase b:match_words b:block_begin b:block_end' endif -- cgit v1.2.3