diff options
| author | Soispha Peetz <soispha@b-peetz.de> | 2026-11-29 01:38:42 +0100 |
|---|---|---|
| committer | Soispha Peetz <soispha@b-peetz.de> | 2026-11-29 01:40:04 +0100 |
| commit | 9bfa7b413f7fe96f858da5cf324909e43a1e6600 (patch) | |
| tree | 531a0bf76890d9e30ee965011ac1cf7c4aeef3c1 | |
| parent | pkgs/fupdate: Exec the update command (diff) | |
| download | nixos-config-9bfa7b413f7fe96f858da5cf324909e43a1e6600.zip | |
modules/nvim/plgs/lsp/ltex_extra: Attach to `ltex_plus`'s `onAttach`
This was missed in the `ltex` -> `ltex_plus` migration.
| -rw-r--r-- | modules/by-name/nv/nvim/plgs/ltex_extra/default.nix | 2 | ||||
| -rw-r--r-- | modules/by-name/nv/nvim/plgs/ltex_extra/lua/ltex_extra.lua | 2 |
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 |
