diff options
author | Christian Clason <c.clason@uni-graz.at> | 2022-09-18 15:20:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-18 15:20:20 +0200 |
commit | 67df3347fd1e637f643b35239f7a20ac813ee588 (patch) | |
tree | 1dd1a5ca375a24225b86da10d55e7d08306b65bf /runtime/ftplugin | |
parent | 8dc61713d9db433dfa2024b45f3bc590dcb58f83 (diff) | |
download | rneovim-67df3347fd1e637f643b35239f7a20ac813ee588.tar.gz rneovim-67df3347fd1e637f643b35239f7a20ac813ee588.tar.bz2 rneovim-67df3347fd1e637f643b35239f7a20ac813ee588.zip |
vim-patch:9712ff1288f9 (#20240)
Update runtime files
https://github.com/vim/vim/commit/9712ff1288f942736ed76c0dec014909f067eec9
Diffstat (limited to 'runtime/ftplugin')
-rw-r--r-- | runtime/ftplugin/crontab.vim | 16 | ||||
-rw-r--r-- | runtime/ftplugin/vdf.vim | 14 |
2 files changed, 30 insertions, 0 deletions
diff --git a/runtime/ftplugin/crontab.vim b/runtime/ftplugin/crontab.vim new file mode 100644 index 0000000000..8dac007ccc --- /dev/null +++ b/runtime/ftplugin/crontab.vim @@ -0,0 +1,16 @@ +" Vim filetype plugin +" Language: crontab +" Maintainer: Keith Smiley <keithbsmiley@gmail.com> +" Last Change: 2022 Sep 11 + +" Only do this when not done yet for this buffer +if exists("b:did_ftplugin") + finish +endif + +" Don't load another plugin for this buffer +let b:did_ftplugin = 1 + +let b:undo_ftplugin = "setl commentstring<" + +setlocal commentstring=#\ %s diff --git a/runtime/ftplugin/vdf.vim b/runtime/ftplugin/vdf.vim new file mode 100644 index 0000000000..973d7c0e48 --- /dev/null +++ b/runtime/ftplugin/vdf.vim @@ -0,0 +1,14 @@ +" Vim filetype plugin +" Language: Valve Data Format +" Maintainer: ObserverOfTime <chronobserver@disroot.org> +" Last Change: 2022 Sep 15 + +if exists('b:did_ftplugin') + finish +endif +let b:did_ftplugin = 1 + +setl comments=:// commentstring=//\ %s +setl foldmethod=syntax + +let b:undo_ftplugin = 'setl com< cms< fdm<' |