AutoYADM commit: 2025-06-10 15:13:33

This commit is contained in:
Daniel Fichtinger 2025-06-10 15:13:33 -04:00
parent 13d2fef362
commit b654a2f572

View file

@ -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
} }
~ ~