Configure ltex-ls for comments
This commit is contained in:
parent
496f448245
commit
7a1ff75def
1 changed files with 10 additions and 1 deletions
|
@ -81,10 +81,19 @@ in {
|
||||||
name = "haskell";
|
name = "haskell";
|
||||||
config.languageServerHaskell.formattingProvider = "fourmolu";
|
config.languageServerHaskell.formattingProvider = "fourmolu";
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
name = "comment";
|
||||||
|
language-server.command = "ltex-ls";
|
||||||
|
config.ltex.additionalRules = {
|
||||||
|
enablePickyRules = true;
|
||||||
|
motherTongue = "de-DE";
|
||||||
|
completionEnabled = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
{
|
{
|
||||||
name = "markdown";
|
name = "markdown";
|
||||||
language-server.command = "ltex-ls";
|
language-server.command = "ltex-ls";
|
||||||
file-types = ["md" "markdown" "text"];
|
file-types = ["md" "markdown" "txt"];
|
||||||
config.ltex.additionalRules = {
|
config.ltex.additionalRules = {
|
||||||
enablePickyRules = true;
|
enablePickyRules = true;
|
||||||
motherTongue = "de-DE";
|
motherTongue = "de-DE";
|
||||||
|
|
Loading…
Reference in a new issue