Skip to content

Commit 9b466fd

Browse files
jparisejbodah
authored andcommitted
Remove redundant 'formatoptions' setting (#472)
'formatoptions' is already set (to these same values) on line 35. Also, add 'fo<' to the 'b:undo_ftplugin' list.
1 parent a4991c9 commit 9b466fd

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

ftplugin/elixir.vim

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,5 @@ onoremap <buffer> <silent> <expr> [[ ':silent keeppatterns ?'.b:block_begin.'<CR
4747
onoremap <buffer> <silent> <expr> ][ ':silent keeppatterns /'.b:block_end .'<CR>'
4848
onoremap <buffer> <silent> <expr> [] ':silent keeppatterns ?'.b:block_end .'<CR>'
4949
50-
silent! setlocal formatoptions-=t formatoptions+=croqlj
51-
52-
let b:undo_ftplugin = 'setlocal sw< sts< et< isk< com< cms< path< inex< sua< def<'.
50+
let b:undo_ftplugin = 'setlocal sw< sts< et< isk< com< cms< path< inex< sua< def< fo<'.
5351
\ '| unlet! b:match_ignorecase b:match_words b:block_begin b:block_end'

0 commit comments

Comments
 (0)