Skip to content

Commit b0895fc

Browse files
plugins/lsp: add templ language server (#905)
* plugins/lsp: add templ language server * plugins/templ: remove name attribute Co-authored-by: Gaétan Lepage <[email protected]> --------- Co-authored-by: Gaétan Lepage <[email protected]>
1 parent 186fe57 commit b0895fc

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

plugins/lsp/language-servers/default.nix

+4
Original file line numberDiff line numberDiff line change
@@ -545,6 +545,10 @@ with lib; let
545545
description = "Enable taplo, for TOML";
546546
package = pkgs.taplo;
547547
}
548+
{
549+
name = "templ";
550+
description = "Enable the templ language server for the templ HTML templating language";
551+
}
548552
{
549553
name = "terraformls";
550554
description = "Enable terraform-ls, for terraform";

tests/test-sources/plugins/lsp/_lsp.nix

+1
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@
148148
svelte.enable = true;
149149
tailwindcss.enable = true;
150150
taplo.enable = true;
151+
templ.enable = true;
151152
terraformls.enable = true;
152153
texlab.enable = true;
153154
tsserver.enable = true;

0 commit comments

Comments
 (0)