From f40ebb972a2befaf652b1f66bc2fa19a2ae8330f Mon Sep 17 00:00:00 2001 From: Jon Parise Date: Wed, 13 Feb 2019 09:24:26 -1000 Subject: [PATCH] Remove redundant 'formatoptions' setting 'formatoptions' is already set (to these same values) on line 35. Also, add 'fo<' to the 'b:undo_ftplugin' list. --- ftplugin/elixir.vim | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ftplugin/elixir.vim b/ftplugin/elixir.vim index d5e5f58c..95858894 100644 --- a/ftplugin/elixir.vim +++ b/ftplugin/elixir.vim @@ -47,7 +47,5 @@ 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'