summaryrefslogtreecommitdiffstats
path: root/ftplugin/vlang.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ftplugin/vlang.vim')
-rw-r--r--ftplugin/vlang.vim6
1 files changed, 6 insertions, 0 deletions
diff --git a/ftplugin/vlang.vim b/ftplugin/vlang.vim
new file mode 100644
index 00000000..0aafeac5
--- /dev/null
+++ b/ftplugin/vlang.vim
@@ -0,0 +1,6 @@
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'v') == -1
+
+setlocal commentstring=//\ %s
+setlocal makeprg=v\ %
+
+endif