Wed, 25 Sep 2024 15:03:13 -0500
No LSP autostart when read-only
I think nvim actually threw out 'view' argc detection, I just use -R and alias
view to it.
if exists("current_compiler") finish endif let current_compiler = "rubocop" if exists(":CompilerSet") != 2 command -nargs=* CompilerSet setlocal <args> endif let s:savecpo = &cpo set cpo&vim CompilerSet makeprg=rubocop\ -f\ c\ % CompilerSet errorformat=%f:%l:%c:\ %t:\ %m,%E%f:%l:\ %m let &cpo = s:savecpo unlet s:savecpo