From 0ba77f2f31c9de42f1e7a8435e6322d3f0a04fa5 Mon Sep 17 00:00:00 2001 From: Christian Clason Date: Sat, 16 Oct 2021 17:07:40 +0200 Subject: vim-patch:2286304cdbba Update runtime files https://github.com/vim/vim/commit/2286304cdbba53ceb52b3ba2ba4a521b0a2f8d0f --- runtime/ftplugin/toml.vim | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 runtime/ftplugin/toml.vim (limited to 'runtime/ftplugin/toml.vim') diff --git a/runtime/ftplugin/toml.vim b/runtime/ftplugin/toml.vim new file mode 100644 index 0000000000..1ef09a16e3 --- /dev/null +++ b/runtime/ftplugin/toml.vim @@ -0,0 +1,23 @@ +" Vim filetype plugin +" Language: TOML +" Homepage: https://github.com/cespare/vim-toml +" Maintainer: Aman Verma +" Author: Kevin Ballard +" Last Change: Sep 21, 2021 + +if exists('b:did_ftplugin') + finish +endif +let b:did_ftplugin = 1 + +let s:save_cpo = &cpo +set cpo&vim +let b:undo_ftplugin = 'setlocal commentstring< comments<' + +setlocal commentstring=#\ %s +setlocal comments=:# + +let &cpo = s:save_cpo +unlet s:save_cpo + +" vim: et sw=2 sts=2 -- cgit