feat: Add language tool and remove typos lsp
This commit is contained in:
@@ -4,7 +4,11 @@
|
|||||||
|
|
||||||
extraPackages = let
|
extraPackages = let
|
||||||
kotlin-lsp = pkgs.callPackage ./kotlin-lsp.nix {};
|
kotlin-lsp = pkgs.callPackage ./kotlin-lsp.nix {};
|
||||||
in [kotlin-lsp];
|
in
|
||||||
|
with pkgs; [
|
||||||
|
kotlin-lsp
|
||||||
|
ltex-ls-plus
|
||||||
|
];
|
||||||
|
|
||||||
plugins = {
|
plugins = {
|
||||||
jdtls.enable = true;
|
jdtls.enable = true;
|
||||||
@@ -54,9 +58,16 @@
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
typos_lsp = {
|
ltex_plus = {
|
||||||
enable = true;
|
enable = true;
|
||||||
config.init_options.diagnosticSeverity = "Hint";
|
config.settings.ltex = {
|
||||||
|
languageToolHttpServerUri = "https://languagetool.demenik.dev";
|
||||||
|
language = "en-US";
|
||||||
|
additionalRules.motherTongue = "de-DE";
|
||||||
|
dictionary.en-US = [
|
||||||
|
"ags"
|
||||||
|
];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
html.enable = true;
|
html.enable = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user