aboutsummaryrefslogtreecommitdiff
path: root/runtime/ftplugin/cmake.vim
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2018-10-28 13:59:07 +0100
committerJustin M. Keyes <justinkz@gmail.com>2018-10-28 14:01:46 +0100
commit8d743d02f229aeed600bbc9a15736ad9e7be9507 (patch)
tree53ba6f62e48cb8a250ac65926e0ee63a17bf15c5 /runtime/ftplugin/cmake.vim
parentdae1213e57da36aaa805425636d11712c746fe49 (diff)
downloadrneovim-8d743d02f229aeed600bbc9a15736ad9e7be9507.tar.gz
rneovim-8d743d02f229aeed600bbc9a15736ad9e7be9507.tar.bz2
rneovim-8d743d02f229aeed600bbc9a15736ad9e7be9507.zip
vim-patch:df980db69b83
update a few runtime files https://github.com/vim/vim/commit/df980db69b831381c37c3e2973a6eefa10df305c Note: omit hl-Terminal, Nvim has its own way of highlighting :terminal.
Diffstat (limited to 'runtime/ftplugin/cmake.vim')
-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