aboutsummaryrefslogtreecommitdiff
path: root/runtime/ftplugin
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2022-09-18 15:20:20 +0200
committerGitHub <noreply@github.com>2022-09-18 15:20:20 +0200
commit67df3347fd1e637f643b35239f7a20ac813ee588 (patch)
tree1dd1a5ca375a24225b86da10d55e7d08306b65bf /runtime/ftplugin
parent8dc61713d9db433dfa2024b45f3bc590dcb58f83 (diff)
downloadrneovim-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.vim16
-rw-r--r--runtime/ftplugin/vdf.vim14
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<'