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 .* %{
|
||||
nop %sh{
|
||||
printf 'exit\n' >"$kak_opt_diagpipe_in"
|
||||
read result < "$kak_opt_diagpipe_out"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
hook global User lsp-enabled %{
|
||||
define-command lsp-diag-hover-enable %{
|
||||
hook window User lsp-diag-hover-false %{
|
||||
try inlay-diagnostics-off
|
||||
}
|
||||
|
@ -260,5 +252,16 @@ hook global User lsp-enabled %{
|
|||
hook window WinSetOption lsp_inline_diagnostics=.* %{
|
||||
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