AutoYADM commit: 2025-05-26 19:31:39

This commit is contained in:
Daniel Fichtinger 2025-05-26 19:31:39 -04:00
parent b5bd33e6f1
commit 1fb2d25ebe

View file

@ -30,8 +30,7 @@ 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\n' "$kak_opt_lsp_filetypes" | sed 's/ /|/g'
printf '%s\n' "($kak_opt_lsp_filetypes)" | sed 's/ /|/g'
}~ %{
# commands to execute for lsp window settings
lsp-enable-window