summaryrefslogtreecommitdiff
path: root/ftplugin
diff options
context:
space:
mode:
Diffstat (limited to 'ftplugin')
-rw-r--r--ftplugin/pvx.vim14
1 files changed, 14 insertions, 0 deletions
diff --git a/ftplugin/pvx.vim b/ftplugin/pvx.vim
new file mode 100644
index 0000000..8134126
--- /dev/null
+++ b/ftplugin/pvx.vim
@@ -0,0 +1,14 @@
+" Filetype settings for ProvideX / PVX source files.
+if exists("b:did_ftplugin")
+ finish
+endif
+let b:did_ftplugin = 1
+
+setlocal commentstring=!\ %s
+setlocal comments=:!
+
+" formatpvx.pl indents with one literal tab per level; match that.
+setlocal noexpandtab
+setlocal tabstop=4
+setlocal shiftwidth=4
+setlocal softtabstop=4