feat: improve markdown lsp for helix

This commit is contained in:
2026-07-11 23:22:41 -04:00
parent 41ef0fd4c5
commit 8531df2384
2 changed files with 27 additions and 12 deletions
Generated
+12 -12
View File
@@ -69,11 +69,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1783221248, "lastModified": 1783740085,
"narHash": "sha256-ESQnuNHEDChsB4IxoLRhscVahqkDWkTb+qdIz8euYt4=", "narHash": "sha256-qajyHfZY29G2oEQk+uHxmsJcRoBUBXP9maTpFlwP/dI=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "af2beae5f0fae0a4310cc0e6aef2572f56090353", "rev": "3cd22efe6471dc7365c822bd9ad73a21e55f38fb",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -110,11 +110,11 @@
"systems": "systems_2" "systems": "systems_2"
}, },
"locked": { "locked": {
"lastModified": 1783311087, "lastModified": 1783824389,
"narHash": "sha256-OF9GAGgTfey7joL1nBEQbicBaa9/DYJbQSdZTFc49qg=", "narHash": "sha256-euvLWscX/nBGB4hxyvWSy7zhblARM7gpWuvRg8/0cBY=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nix4vscode", "repo": "nix4vscode",
"rev": "a7575c62fa1e454dd95c1bee337bca4842fbfc2e", "rev": "2c35bdfa40ff0a88d6606129885c8231d6d59f58",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -173,11 +173,11 @@
}, },
"nixpkgs_4": { "nixpkgs_4": {
"locked": { "locked": {
"lastModified": 1783148766, "lastModified": 1783703440,
"narHash": "sha256-uslt2pqShTIXDdAHRHv2QkYLsVdY8Oqwz0EA48/RSM8=", "narHash": "sha256-O3/YajjWo001VUIgD8BwaRdSNLUFe7nZ1qV5TwhRBcw=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "a50de1b7d8a586adc18d2395c19de7d6058e6030", "rev": "8f0500b9660505dc3cb647775fe9a978a74b5283",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -213,11 +213,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1775856943, "lastModified": 1783574839,
"narHash": "sha256-b7Mp7P+q2Md5AGt4rjHfMcBykzMumFTen10ST++AuTU=", "narHash": "sha256-ICof1tV4/9XheBLBGf7dhMhfMq4dOs1zwTHrr7zGFlA=",
"owner": "nix-community", "owner": "nix-community",
"repo": "plasma-manager", "repo": "plasma-manager",
"rev": "a524a6160e6df89f7673ba293cf7d78b559eb1a5", "rev": "c551f0687658e4bb699cfff6015436ad7ee57a0d",
"type": "github" "type": "github"
}, },
"original": { "original": {
+15
View File
@@ -134,6 +134,7 @@ in
language = [ language = [
{ {
name = "quarto"; name = "quarto";
language-id = "markdown";
language-servers = [ "marksman" "harper-ls" ]; language-servers = [ "marksman" "harper-ls" ];
auto-format = false; auto-format = false;
comment-tokens = [ "-" "*" ">" ]; comment-tokens = [ "-" "*" ">" ];
@@ -149,6 +150,20 @@ in
language-server.harper-ls = { language-server.harper-ls = {
command = "harper-ls"; command = "harper-ls";
args = [ "--stdio" ]; args = [ "--stdio" ];
config.harper-ls = {
userDictPath = "";
diagnosticSeverity = "hint";
workspaceDictPath = ".harper-dictionary.txt";
ignoredLintsPath = ".harper-ignored.txt";
linters = {
SplitWords = false;
UseTitleCase = false;
LongSentences = false;
SentenceCapitalization = false;
CompoundNouns = false;
OrthographicConsistency = false;
};
};
}; };
}; };