aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-06-29 20:23:10 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-06-29 20:23:10 +1200
commitd944a078798c03c5bab690376e7bb31a5502d412 (patch)
tree21964230187f20e151f2d6b33eeb39043ae571ee
parentAdd Vim ftplugin to set 'comments' for sed (diff)
downloaddotfiles-d944a078798c03c5bab690376e7bb31a5502d412.tar.gz
dotfiles-d944a078798c03c5bab690376e7bb31a5502d412.zip
Remove 'formatoptions' reset in ftplugins
-rw-r--r--vim/after/ftplugin/awk/comments.vim2
-rw-r--r--vim/after/ftplugin/sed/comments.vim2
2 files changed, 2 insertions, 2 deletions
diff --git a/vim/after/ftplugin/awk/comments.vim b/vim/after/ftplugin/awk/comments.vim
index cfa4c663..5f91bef2 100644
--- a/vim/after/ftplugin/awk/comments.vim
+++ b/vim/after/ftplugin/awk/comments.vim
@@ -18,4 +18,4 @@ let b:undo_ftplugin = b:undo_ftplugin
" Use trailing whitespace to denote continued paragraph
setlocal comments=:#
let b:undo_ftplugin = b:undo_ftplugin
- \ . '|setlocal comments< formatoptions<'
+ \ . '|setlocal comments<'
diff --git a/vim/after/ftplugin/sed/comments.vim b/vim/after/ftplugin/sed/comments.vim
index d0599ac7..4e779d67 100644
--- a/vim/after/ftplugin/sed/comments.vim
+++ b/vim/after/ftplugin/sed/comments.vim
@@ -18,4 +18,4 @@ let b:undo_ftplugin = b:undo_ftplugin
" Use trailing whitespace to denote continued paragraph
setlocal comments=:#
let b:undo_ftplugin = b:undo_ftplugin
- \ . '|setlocal comments< formatoptions<'
+ \ . '|setlocal comments<'