Skip to content

Commit c0fe071

Browse files
[vim] set commentstring (#71838)
I recently moved from using vim to lunarvim. I noticed that `gcc` (lol) wasn't able to comment out lines, because commentstring is not set. Thanks to Chase Colman for the suggestion in LunarVim/LunarVim#4394.
1 parent e7dd596 commit c0fe071

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/utils/vim/ftplugin/llvm.vim

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@ let b:did_ftplugin = 1
1010
setlocal softtabstop=2 shiftwidth=2
1111
setlocal expandtab
1212
setlocal comments+=:;
13+
setlocal commentstring=;\ %s

0 commit comments

Comments
 (0)