diff --git a/hmModules/helix/default.nix b/hmModules/helix/default.nix index 4e724e2..5816637 100644 --- a/hmModules/helix/default.nix +++ b/hmModules/helix/default.nix @@ -1,4 +1,13 @@ +{ pkgs, ... }: { + home.packages = with pkgs; [ + zk + nixd + terraform-ls + python3Packages.python-lsp-server + nodePackages.typescript-language-server + ]; + programs.helix = { enable = true; defaultEditor = true; @@ -11,6 +20,7 @@ normal = "block"; select = "underline"; }; + color-modes = true; true-color = true; # to make colors coherent when in ssh # inline-diagnostic = { # cursor-line = "hint"; @@ -23,6 +33,7 @@ { name = "nix"; language-servers = [ "nixd" ]; + formatter.command = "nixfmt"; } { name = "markdown"; @@ -35,10 +46,6 @@ ]; language-server = { nixd.command = "nixd"; - vtsls = { - command = "vtsls"; - args = [ "--stdio" ]; - }; zk = { command = "zk"; args = [ "lsp" ]; diff --git a/hmModules/shell/default.nix b/hmModules/shell/default.nix index cf7f76a..64f955e 100644 --- a/hmModules/shell/default.nix +++ b/hmModules/shell/default.nix @@ -254,12 +254,7 @@ "picard" ]) [ - nixd # TODO probably not the best place - terraform-lsp # TODO probably not best place - python3Packages.jedi-language-server # TODO probably not best place - nodePackages.typescript-language-server # TODO probably not best place cntr # TODO probably not best place - nom # FIXME disable on aarch64-linux, breaks everything :( ] ); }