From b3d94b10870ce494941279f78387e1d98a7e48e7 Mon Sep 17 00:00:00 2001 From: Christian Clason Date: Mon, 8 Jul 2024 10:48:17 +0200 Subject: [PATCH] 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 --- runtime/ftplugin/cmakecache.vim | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 runtime/ftplugin/cmakecache.vim 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 +" 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<'