summaryrefslogtreecommitdiffstats
path: root/runtime/ftplugin
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-12-24 13:22:00 +0100
committerBram Moolenaar <Bram@vim.org>2017-12-24 13:22:00 +0100
commitdf980db69b831381c37c3e2973a6eefa10df305c (patch)
tree3e0b4447b0d77ce01cfb1f93941bc77e1ce0ccf1 /runtime/ftplugin
parenta47ebdbd222ae488a65be4e8bc3fd87c6301c000 (diff)
update a few runtime files
Diffstat (limited to 'runtime/ftplugin')
-rw-r--r--runtime/ftplugin/cmake.vim16
1 files changed, 16 insertions, 0 deletions
diff --git a/runtime/ftplugin/cmake.vim b/runtime/ftplugin/cmake.vim
new file mode 100644
index 0000000000..e81cd4071c
--- /dev/null
+++ b/runtime/ftplugin/cmake.vim
@@ -0,0 +1,16 @@
+" Vim filetype plugin
+" Language: CMake
+" Maintainer: Keith Smiley <keithbsmiley@gmail.com>
+" Last Change: 2017 Dec 24
+
+" 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