HASH 1438b4f9f1a6
DATE 2025-01-25
SUBJECT neovim: add debounce flag to ltex-ls
FILES 1 CHANGED
HASH 1438b4f9f1a6
DATE 2025-01-25
SUBJECT neovim: add debounce flag to ltex-ls
FILES 1 CHANGED
┌─ outputs/pkgs/ook-vim/modules/plugins/languages/markdown.nix ──────────────┐
│ diff --git a/outputs/pkgs/ook-vim/modules/plugins/languages/markdown.nix b/outputs │
│ /pkgs/ook-vim/modules/plugins/languages/markdown.nix │
│ index 4b6ff4b..73833c6 100644 │
│ --- a/outputs/pkgs/ook-vim/modules/plugins/languages/markdown.nix │
│ +++ b/outputs/pkgs/ook-vim/modules/plugins/languages/markdown.nix │
│ @@ -120,6 +120,7 @@ in { │
│ cmd = {"${cfg.ltex.package}/bin/ltex-ls"}, │
│ capabilities = capabilities; │
│ on_attach = default_on_attach; │
│ + flags = { debounce_text_changes = 300 }, │
│ settings = { │
│ ltex = { │
│ language = "${cfg.ltex.language}", │
└────────────────────────────────────────────────────────────────────────────────────┘
┌─ ...lugins/languages/markdown.nix ───┐
│ diff --git a/outputs/pkgs/ook-vim/modules/pl │
│ ugins/languages/markdown.nix b/outputs/pkgs/ │
│ ook-vim/modules/plugins/languages/markdown.n │
│ ix │
│ index 4b6ff4b..73833c6 100644 │
│ --- a/outputs/pkgs/ook-vim/modules/plugins/l │
│ anguages/markdown.nix │
│ +++ b/outputs/pkgs/ook-vim/modules/plugins/l │
│ anguages/markdown.nix │
│ @@ -120,6 +120,7 @@ in { │
│ cmd = {"${cfg.ltex.package}/bin │
│ /ltex-ls"}, │
│ capabilities = capabilities; │
│ on_attach = default_on_attach; │
│ + flags = { debounce_text_changes │
│ = 300 }, │
│ settings = { │
│ ltex = { │
│ language = "${cfg.ltex.lang │
│ uage}", │
└──────────────────────────────────────────────┘
[ BACK TO LOG ]
──────────────────────────────────────────────────────────────────────────────────────
OOKNET
────────────────────────────────────────────────
OOKNET