
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 https://github.com/LunarVim/LunarVim/issues/4394.
14 lines
273 B
VimL
14 lines
273 B
VimL
" Vim filetype plugin file
|
|
" Language: LLVM Assembly
|
|
" Maintainer: The LLVM team, http://llvm.org/
|
|
|
|
if exists("b:did_ftplugin")
|
|
finish
|
|
endif
|
|
let b:did_ftplugin = 1
|
|
|
|
setlocal softtabstop=2 shiftwidth=2
|
|
setlocal expandtab
|
|
setlocal comments+=:;
|
|
setlocal commentstring=;\ %s
|