AutoYADM commit: 2025-06-14 22:57:07
This commit is contained in:
parent
f3765e3616
commit
33bf274c11
1 changed files with 14 additions and 1 deletions
|
@ -2,8 +2,21 @@
|
|||
eval %sh{kak-lsp}
|
||||
# eval %sh{kak-lsp-diags}
|
||||
|
||||
declare-option str diags_dev "$HOME/dev/kak-lsp-diags"
|
||||
define-command -params 0..1 -docstring %{
|
||||
enable lsp-diags. give -dev switch to run dev build.
|
||||
} diags %{
|
||||
evaluate-commands %sh{
|
||||
if [ "$1" = "-dev" ]; then
|
||||
uv run --project "$kak_opt_diags_dev" kak-lsp-diags
|
||||
else
|
||||
kak-lsp-diags
|
||||
fi
|
||||
}
|
||||
}
|
||||
|
||||
define-command -override -hidden lsp-do-send-async %{
|
||||
# echo -debug ===BEGIN-LSP
|
||||
# echo -debug ===BEGIN-LSP
|
||||
# echo -quoting shell -debug %reg{a}
|
||||
# echo -debug ===END-LSP
|
||||
echo -quoting shell -to-file %opt{lsp_fifo} %reg{a}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue