aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2024-07-08 10:48:17 +0200
committerChristian Clason <c.clason@uni-graz.at>2024-07-08 12:14:44 +0200
commitb3d94b10870ce494941279f78387e1d98a7e48e7 (patch)
tree47256a74398c0d0def564d5d67afb0fb3208fb52
parent3b4481d3a575ace2ef78a6e95a1b1491e58e452c (diff)
downloadrneovim-b3d94b10870ce494941279f78387e1d98a7e48e7.tar.gz
rneovim-b3d94b10870ce494941279f78387e1d98a7e48e7.tar.bz2
rneovim-b3d94b10870ce494941279f78387e1d98a7e48e7.zip
vim-patch:f77a0e9: runtime(cmakecache): include cmakecache ftplugin file
closes: vim/vim#15175 https://github.com/vim/vim/commit/f77a0e9f417d41a3c35de86a42a75d10b633f19a Co-authored-by: Riley Bruins <ribru17@hotmail.com>
-rw-r--r--runtime/ftplugin/cmakecache.vim13
1 files changed, 13 insertions, 0 deletions
diff --git a/runtime/ftplugin/cmakecache.vim b/runtime/ftplugin/cmakecache.vim
new file mode 100644
index 0000000000..6753cd284a
--- /dev/null
+++ b/runtime/ftplugin/cmakecache.vim
@@ -0,0 +1,13 @@
+" Vim filetype plugin
+" Language: cmakecache - CMakeCache.txt files generated by CMake
+" Maintainer: Riley Bruins <ribru17@gmail.com>
+" Last Change: 2024 Jul 06
+
+if exists('b:did_ftplugin')
+ finish
+endif
+let b:did_ftplugin = 1
+
+setl comments=:#,:// commentstring=//\ %s
+
+let b:undo_ftplugin = 'setl com< cms<'