AutoYADM commit: 2025-05-25 23:09:09

This commit is contained in:
Daniel Fichtinger 2025-05-25 23:09:09 -04:00
parent dac2a9b866
commit 0a7eec16bc
4 changed files with 9 additions and 7 deletions

View file

@ -30,7 +30,8 @@ define-command -hidden lsp-filetype-hooks-update %{
try %{ remove-hooks global lsp-filetypes }
# convert the str-list into regex of form (a|b|c|...)
hook -group lsp-filetypes global WinSetOption %exp~filetype=%sh{
printf '%s' "(${kak_opt_lsp_filetypes// /|})"
# printf '%s' "(${kak_opt_lsp_filetypes// /|})"
printf '%s\n' "$kak_opt_lsp_filetypes" | sed 's/ /|/g'
}~ %{
# commands to execute for lsp window settings
lsp-enable-window