diff runtime/ftplugin/cmake.vim @ 13100:656ab57d1ddc

update a few runtime files commit https://github.com/vim/vim/commit/df980db69b831381c37c3e2973a6eefa10df305c Author: Bram Moolenaar <Bram@vim.org> Date: Sun Dec 24 13:22:00 2017 +0100 update a few runtime files
author Christian Brabandt <cb@256bit.org>
date Sun, 24 Dec 2017 13:30:05 +0100
parents
children 34fd018452ed
line wrap: on
line diff
new file mode 100644
--- /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