Closed NamespaceNick closed 6 years ago
See FAQ in the README:
autocmd FileType cmake setlocal commentstring=#\ %s
Since 24 Dec 2017 commentstring
is set in https://github.com/vim/vim/blob/master/runtime/ftplugin/cmake.vim
No need for a user to add a line to vimrc when using a current vim.
IMHO, this issue should be closed.
Apologies if this was somewhere else that I didn't see, but how do I enable the '#' comment style for the particular file 'CMakeLists.txt'?
Thank you for any help! I'm a bit new at vim/vim configuration, so it's really appreciated!