Mercurial > vim
view runtime/ftplugin/cmake.vim @ 32975:71cbad0921c9
runtime: Remove Brams name from a few more runtime files (#12780)
Commit: https://github.com/vim/vim/commit/e8d6f03f6a61f60de6893253621d057f63dd6a23
Author: Christian Brabandt <cb@256bit.org>
Date: Wed Aug 23 20:23:07 2023 +0100
runtime: Remove Brams name from a few more runtime files (https://github.com/vim/vim/issues/12780)
syntax/model.vim: minor wording improvement
Signed-off-by: Christian Brabandt <cb@256bit.org>
Co-authored-by: Adri Verhoef <a3@a3.xs4all.nl>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 24 Aug 2023 07:33:28 +0200 |
parents | 34fd018452ed |
children | db548356f001 |
line wrap: on
line source
" Vim filetype plugin " Language: CMake " Maintainer: Keith Smiley <keithbsmiley@gmail.com> " Last Change: 2018 Aug 30 " Only do this when not done yet for this buffer if exists("b:did_ftplugin") finish endif " save 'cpo' for restoration at the end of this file let s:cpo_save = &cpo set cpo&vim " Don't load another plugin for this buffer let b:did_ftplugin = 1 let b:undo_ftplugin = "setl commentstring<" if exists('loaded_matchit') let b:match_words = '\<if\>:\<elseif\>\|\<else\>:\<endif\>' \ . ',\<foreach\>\|\<while\>:\<break\>:\<endforeach\>\|\<endwhile\>' \ . ',\<macro\>:\<endmacro\>' \ . ',\<function\>:\<endfunction\>' let b:match_ignorecase = 1 let b:undo_ftplugin .= "| unlet b:match_words" endif setlocal commentstring=#\ %s " restore 'cpo' and clean up buffer variable let &cpo = s:cpo_save unlet s:cpo_save