Home

helix.drv @main - refs - log -
-
https://git.jolheiser.com/helix.drv.git
My Helix configuration as a Nix derivation
tree log patch
add harper lsp Signed-off-by: jolheiser <git@jolheiser.com>
Signature
-----BEGIN SSH SIGNATURE----- U1NIU0lHAAAAAQAAADMAAAALc3NoLWVkMjU1MTkAAAAgBTEvCQk6VqUAdN2RuH6bj1dNkY oOpbPWj+jw4ua1B1cAAAADZ2l0AAAAAAAAAAZzaGE1MTIAAABTAAAAC3NzaC1lZDI1NTE5 AAAAQKV4fh9zjhLeA2ixU91+0lWbjCXCFQX0CNJ+ft2kiaeXq3XFXe5bGq08+x3J3Gzf79 OFlOEalXuu+VcjtRDx6wk= -----END SSH SIGNATURE-----
jolheiser <git@jolheiser.com>
5 days ago
3 changed files, 12 additions(+), 1 deletions(-)
.helix/languages.tomlREADME.mdconfig/languages.nix
M .helix/languages.toml -> .helix/languages.toml
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
diff --git a/.helix/languages.toml b/.helix/languages.toml
index 0469a6870a3ca0b5c76040e108c289ac055b85c9..07295a0971db17c96eba1f3312135e8c2dcc96af 100644
--- a/.helix/languages.toml
+++ b/.helix/languages.toml
@@ -1,3 +1,7 @@
 [[language]]
 name = "nix"
 language-servers = ["nil", "colors"]
+
+[[language]]
+name = "markdown"
+language-servers = ["marksman", "grammar"]
M README.md -> README.md
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
diff --git a/README.md b/README.md
index 52cf5355b17be1819e39094229d17a6d202c6da7..0fe415c1442507abe5c69367464fbc5f85568efa 100644
--- a/README.md
+++ b/README.md
@@ -11,9 +11,12 @@ ```sh
 nix run git+https://git.jolheiser.com/helix.drv
 ```
 
+## Extra LSPs
 To add color LSP support to any given language, extend the LSPs configured for that language and add `colors`.
 
-See [this server's configuration](.helix/languages.toml) for an example.
+To add grammar checking, extend with `grammar`.
+
+See [this server's configuration](.helix/languages.toml) for examples.
 
 ## License
 
M config/languages.nix -> config/languages.nix
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
diff --git a/config/languages.nix b/config/languages.nix
index 8475e94ab6e5b2faf386d9f5574e263a552873a5..80b9e33e656cc6e6f760f73e8009d47e2cc876af 100644
--- a/config/languages.nix
+++ b/config/languages.nix
@@ -63,5 +63,9 @@         };
       };
     };
     colors.command = "${lib.getExe uwu-colors}";
+    grammar = {
+      command = "${lib.getExe harper}";
+      args = [ "--stdio" ];
+    };
   };
 }