1
0
Fork 0

Configure ltex-ls for comments

This commit is contained in:
Malte 2022-12-31 00:06:55 +01:00
parent 496f448245
commit 7a1ff75def

View file

@ -81,10 +81,19 @@ in {
name = "haskell";
config.languageServerHaskell.formattingProvider = "fourmolu";
}
{
name = "comment";
language-server.command = "ltex-ls";
config.ltex.additionalRules = {
enablePickyRules = true;
motherTongue = "de-DE";
completionEnabled = true;
};
}
{
name = "markdown";
language-server.command = "ltex-ls";
file-types = ["md" "markdown" "text"];
file-types = ["md" "markdown" "txt"];
config.ltex.additionalRules = {
enablePickyRules = true;
motherTongue = "de-DE";