feat: Update ltex dictionary

This commit is contained in:
demenik
2025-12-16 15:04:04 +01:00
parent 309ab2e17b
commit 5eb5c48b73
2 changed files with 14 additions and 4 deletions

View File

@@ -1,4 +1,16 @@
{ {
# lsp.servers.ltex_plus.config.settings.ltex.dictionary = {
dictionary = {
en-US = [
"ags"
"fzf"
"Gitsigns"
"Vimtex"
"dap"
"neotest"
];
};
# lsp.servers.ltex_plus.config.filetypes = [ # lsp.servers.ltex_plus.config.filetypes = [
filetypes = [ filetypes = [
# Default values (https://github.com/neovim/nvim-lspconfig/blob/master/doc/configs.md#ltex_plus) # Default values (https://github.com/neovim/nvim-lspconfig/blob/master/doc/configs.md#ltex_plus)

View File

@@ -61,7 +61,7 @@
ltex_plus = { ltex_plus = {
enable = true; enable = true;
config = let config = let
inherit (import ./ltex.nix) filetypes enabled; inherit (import ./ltex.nix) filetypes enabled dictionary;
in { in {
inherit filetypes; inherit filetypes;
settings.ltex = { settings.ltex = {
@@ -69,9 +69,7 @@
languageToolHttpServerUri = "https://languagetool.demenik.dev"; languageToolHttpServerUri = "https://languagetool.demenik.dev";
language = "en-US"; language = "en-US";
additionalRules.motherTongue = "de-DE"; additionalRules.motherTongue = "de-DE";
dictionary.en-US = [ inherit dictionary;
"ags"
];
}; };
}; };
}; };