From c0b33da9bf4d47b01bf6a081f68dffc5497aa75f Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Tue, 10 Jul 2018 13:19:12 +1200 Subject: Move after/ftplugin/sed.vim to ftplugin/sed.vim Vim doesn't have a stock ftplugin for sed at all (just syntax), so this can be our base one. --- vim/ftplugin/sed.vim | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 vim/ftplugin/sed.vim (limited to 'vim/ftplugin') diff --git a/vim/ftplugin/sed.vim b/vim/ftplugin/sed.vim new file mode 100644 index 00000000..350bc976 --- /dev/null +++ b/vim/ftplugin/sed.vim @@ -0,0 +1,9 @@ +" Only do this when not yet done for this buffer +if exists('b:did_ftplugin') + finish +endif + +" Set comment formats +setlocal comments=:# +setlocal formatoptions+=or +let b:undo_ftplugin = 'setlocal comments< formatoptions<' -- cgit v1.2.3