AutoYADM commit: 2025-06-14 04:03:00

This commit is contained in:
Daniel Fichtinger 2025-06-14 04:03:00 -04:00
parent 5ffe0c53a3
commit 5c4975d4e2
3 changed files with 10 additions and 15 deletions

View file

@ -153,8 +153,6 @@ hook -group lsp-filetype-python global BufSetOption filetype=python %{
remove-hooks global lsp-filetype-latex
hook -group lsp-filetype-latex global BufSetOption filetype=latex %{
declare-option str foobartest %{
}
set-option buffer lsp_servers %{
[ltex-ls-plus]
root_globs = [".git", ".hg", "main.tex"]
@ -192,8 +190,8 @@ hook -group lsp-filetype-latex global BufSetOption filetype=latex %{
""",
]
}
# require-module ltex-dict
# ltex-dict-set
require-module ltex-dict
ltex-dict-set
define-command -docstring 'Add selection to ltex-ls dictionary' ltex-add %{
set-option buffer lsp_servers %sh{
printf %s "$kak_opt_lsp_servers" | kak -f "$(printf '<a-s><a-k>dictionary =<ret>s\\[.*\\]<ret><a-i>]_a, "%s"' "$kak_selection")"