[llvm] [vim] set commentstring (PR #71838)

Nick Desaulniers via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 17 09:53:03 PST 2023


================
@@ -270,3 +270,5 @@ if version >= 508 || !exists("did_c_syn_inits")
 endif
 
 let b:current_syntax = "llvm"
+
+setlocal commentstring=;\ %s
----------------
nickdesaulniers wrote:

In https://github.com/LunarVim/LunarVim/issues/4394#issuecomment-1804542199, @chase mentions that it's more appropriate for this change to go in

llvm/utils/vim/ftplugin/llvm.vim

rather than

llvm/utils/vim/syntax/llvm.vim


Let me move this change there.

https://github.com/llvm/llvm-project/pull/71838


More information about the llvm-commits mailing list