aboutsummaryrefslogtreecommitdiff
path: root/share/cfg/helix.nix
diff options
context:
space:
mode:
Diffstat (limited to 'share/cfg/helix.nix')
-rw-r--r--share/cfg/helix.nix66
1 files changed, 0 insertions, 66 deletions
diff --git a/share/cfg/helix.nix b/share/cfg/helix.nix
index 7d3162e..6d8d556 100644
--- a/share/cfg/helix.nix
+++ b/share/cfg/helix.nix
@@ -1,33 +1,14 @@
{
- # inputs,
pkgs,
- # config,
- # lib,
...
}:
{
programs.helix = {
defaultEditor = true;
extraPackages = with pkgs; [
- rust-analyzer
- rustfmt
nil
nixfmt-rfc-style
- python311Packages.python-lsp-server
- clang-tools
- black
emmet-ls
- vscode-langservers-extracted
- nodePackages.bash-language-server
- cmake-language-server
- cmake-format
- # inputs.snippets-ls
- taplo
- typst-lsp
- gopls
- # golangci-lint-langserver
- delve
- gleam
];
settings = {
@@ -73,18 +54,6 @@
typescript.tsdk = "${pkgs.typescript}/lib/node_modules/typescript/lib";
environment = "node";
};
- # language-server.snippets-html = {
- # command = "snippets-ls";
- # args = [
- # "-config"
- # config.xdg.configFile."helix/snippets/html.json".target
- # ];
- # };
- };
- language-server.deno-lsp = {
- command = "${pkgs.deno}/bin/deno";
- args = [ "lsp" ];
- config.deno.enable = true;
};
language = [
@@ -133,17 +102,6 @@
};
}
{
- name = "typescript";
- shebangs = [ "deno" ];
- roots = [
- "deno.json"
- "deno.jsonc"
- "package.json"
- ];
- auto-format = true;
- language-servers = [ "deno-lsp" ];
- }
- {
name = "svelte";
language-servers = [
"svelteserver"
@@ -174,28 +132,4 @@
"*.webp"
];
}; # end of programs.helix
-
- # xdg.configFile = {
- # "helix/snippets/html.json" = mkIf cfg.enable {
- # source = jsonFormat.generate "html-snippets" {
- # "html doc" = {
- # isFileTemplate = true;
- # prefix = [ "!" ];
- # body = [
- # "<!DOCTYPE html>"
- # "<html>"
- # "<head>"
- # ''\t<meta charset=\"UTF-8\" />''
- # ''\t<title>$\{1:title}</title>''
- # "</head>"
- # "<body>"
- # ''\t$0''
- # "</body>"
- # "</html>"
- # ];
- # description = "HTML Document";
- # };
- # };
- # };
- # };
}