Move LSP servers

This commit is contained in:
Andrea Ciceri 2024-09-20 21:27:14 +02:00
parent 3ff06fa2bc
commit e703451af2
Signed by: aciceri
SSH key fingerprint: SHA256:/AagBweyV4Hlfg9u092n8hbHwD5fcB6A3qhDiDA65Rg
2 changed files with 11 additions and 9 deletions
hmModules

View file

@ -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" ];

View file

@ -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 :(
]
);
}