kak: don't error on missing commands for kak-lsp
This commit is contained in:
parent
6fd08dab40
commit
b0d5c84786
|
@ -55,13 +55,13 @@ plug 'kak-lsp/kak-lsp' do %{
|
|||
hook global BufCreate .* %{try lsp-enable}
|
||||
|
||||
define-command -override -hidden lsp-enable-decals %{
|
||||
lsp-inlay-diagnostics-enable global
|
||||
lsp-experimental-inlay-hints-enable global
|
||||
try %{ lsp-inlay-diagnostics-enable global }
|
||||
try %{ lsp-experimental-inlay-hints-enable global }
|
||||
}
|
||||
|
||||
define-command -override -hidden lsp-disable-decals %{
|
||||
lsp-inlay-diagnostics-disable global
|
||||
lsp-experimental-inlay-hints-disable global
|
||||
try %{ lsp-inlay-diagnostics-disable global }
|
||||
try %{ lsp-experimental-inlay-hints-disable global }
|
||||
}
|
||||
lsp-enable-decals
|
||||
|
||||
|
|
Reference in New Issue