summaryrefslogtreecommitdiffstats
path: root/modules/by-name/nv/nvim/plgs/ltex_extra
diff options
context:
space:
mode:
authorSoispha Peetz <soispha@b-peetz.de>2026-11-29 01:38:42 +0100
committerSoispha Peetz <soispha@b-peetz.de>2026-11-29 01:40:04 +0100
commit9bfa7b413f7fe96f858da5cf324909e43a1e6600 (patch)
tree531a0bf76890d9e30ee965011ac1cf7c4aeef3c1 /modules/by-name/nv/nvim/plgs/ltex_extra
parentpkgs/fupdate: Exec the update command (diff)
downloadnixos-config-9bfa7b413f7fe96f858da5cf324909e43a1e6600.zip
modules/nvim/plgs/lsp/ltex_extra: Attach to `ltex_plus`'s `onAttach`
This was missed in the `ltex` -> `ltex_plus` migration.
Diffstat (limited to 'modules/by-name/nv/nvim/plgs/ltex_extra')
-rw-r--r--modules/by-name/nv/nvim/plgs/ltex_extra/default.nix2
-rw-r--r--modules/by-name/nv/nvim/plgs/ltex_extra/lua/ltex_extra.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/by-name/nv/nvim/plgs/ltex_extra/default.nix b/modules/by-name/nv/nvim/plgs/ltex_extra/default.nix
index 66ce7b96..71250a70 100644
--- a/modules/by-name/nv/nvim/plgs/ltex_extra/default.nix
+++ b/modules/by-name/nv/nvim/plgs/ltex_extra/default.nix
@@ -13,6 +13,6 @@
extraPlugins = [
pkgs.vimPlugins.ltex_extra-nvim
];
- plugins.lsp.servers.ltex.onAttach.function = builtins.readFile ./lua/ltex_extra.lua;
+ plugins.lsp.servers.ltex_plus.onAttach.function = builtins.readFile ./lua/ltex_extra.lua;
};
}
diff --git a/modules/by-name/nv/nvim/plgs/ltex_extra/lua/ltex_extra.lua b/modules/by-name/nv/nvim/plgs/ltex_extra/lua/ltex_extra.lua
index 883b22c4..eb7c3291 100644
--- a/modules/by-name/nv/nvim/plgs/ltex_extra/lua/ltex_extra.lua
+++ b/modules/by-name/nv/nvim/plgs/ltex_extra/lua/ltex_extra.lua
@@ -11,7 +11,7 @@
require("ltex_extra").setup({
-- table <string> : languages for witch dictionaries will be loaded, e.g. { "es-AR", "en-US" }
-- https://valentjn.github.io/ltex/supported-languages.html#natural-languages
- load_langs = { "en-CA", "de-DE", "sv-SE" }, -- en-US as default
+ load_langs = { "en-CA", "de-DE", "sv-SE" },
-- boolean : whether to load dictionaries on startup
init_check = true,
-- string : relative or absolute path to store dictionaries