summaryrefslogtreecommitdiffstats
path: root/runtime/ftplugin/vdf.vim
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/ftplugin/vdf.vim')
-rw-r--r--runtime/ftplugin/vdf.vim14
1 files changed, 14 insertions, 0 deletions
diff --git a/runtime/ftplugin/vdf.vim b/runtime/ftplugin/vdf.vim
new file mode 100644
index 0000000..973d7c0
--- /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<'