AutoYADM commit: 2025-06-10 15:13:33
This commit is contained in:
parent
13d2fef362
commit
b654a2f572
1 changed files with 12 additions and 9 deletions
|
@ -237,15 +237,7 @@ define-command -params 2 lsp-diag-query %{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
hook global KakEnd .* %{
|
define-command lsp-diag-hover-enable %{
|
||||||
nop %sh{
|
|
||||||
printf 'exit\n' >"$kak_opt_diagpipe_in"
|
|
||||||
read result < "$kak_opt_diagpipe_out"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
hook global User lsp-enabled %{
|
|
||||||
hook window User lsp-diag-hover-false %{
|
hook window User lsp-diag-hover-false %{
|
||||||
try inlay-diagnostics-off
|
try inlay-diagnostics-off
|
||||||
}
|
}
|
||||||
|
@ -260,5 +252,16 @@ hook global User lsp-enabled %{
|
||||||
hook window WinSetOption lsp_inline_diagnostics=.* %{
|
hook window WinSetOption lsp_inline_diagnostics=.* %{
|
||||||
lsp-diag-set
|
lsp-diag-set
|
||||||
}
|
}
|
||||||
|
hook global KakEnd .* %{
|
||||||
|
nop %sh{
|
||||||
|
printf 'exit\n' >"$kak_opt_diagpipe_in"
|
||||||
|
read result < "$kak_opt_diagpipe_out"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
hook global User lsp-enabled %{
|
||||||
|
lsp-diag-hover-enable
|
||||||
}
|
}
|
||||||
~
|
~
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue