Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
cpp.vim23 linesDownload Raw Back to ftplugin
1" Vim filetype plugin file2" Language:	C++3" Maintainer:	The Vim Project <https://github.com/vim/vim>4" Last Change:	2024 Jun 065" Former Maintainer:	Bram Moolenaar <Bram@vim.org>6 7" Only do this when not done yet for this buffer8if exists("b:did_ftplugin")9  finish10endif11 12" Behaves mostly just like C13runtime! ftplugin/c.vim ftplugin/c_*.vim ftplugin/c/*.vim14 15" Change 'commentstring' to "C++ style"/"mono-line" comments16setlocal commentstring=//\ %s17let b:undo_ftplugin ..= ' | setl commentstring<'18 19" C++ uses templates with <things>20" Disabled, because it gives an error for typing an unmatched ">".21" set matchpairs+=<:>22" let b:undo_ftplugin ..= ' | setl matchpairs<'23 
codekingpro/portable-devtools · Team Ai