AutoYADM commit: 2025-05-26 19:31:39
This commit is contained in:
parent
b5bd33e6f1
commit
1fb2d25ebe
1 changed files with 1 additions and 2 deletions
|
@ -30,8 +30,7 @@ define-command -hidden lsp-filetype-hooks-update %{
|
||||||
try %{ remove-hooks global lsp-filetypes }
|
try %{ remove-hooks global lsp-filetypes }
|
||||||
# convert the str-list into regex of form (a|b|c|...)
|
# convert the str-list into regex of form (a|b|c|...)
|
||||||
hook -group lsp-filetypes global WinSetOption %exp~filetype=%sh{
|
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
|
# commands to execute for lsp window settings
|
||||||
lsp-enable-window
|
lsp-enable-window
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue