This commit is contained in:
2024-11-01 15:59:32 +01:00
parent 3ca6f9fa70
commit 2ce5fb4d43
10 changed files with 94 additions and 39 deletions

View File

@@ -42,7 +42,7 @@ in
}
];
lsp.servers = {
ts-ls.enable = true;
ts_ls.enable = true;
eslint.enable = lib.mkIf cfg.eslint true;
};
};

View File

@@ -15,7 +15,7 @@ in
config = lib.mkIf cfg.enable {
plugins = {
conform-nvim.settings.formatters_by_ft.lua = [ "stylua" ];
lsp.servers.lua-ls.enable = true;
lsp.servers.lua_ls.enable = true;
};
extraPackages = [ pkgs.stylua ];
};

View File

@@ -15,7 +15,7 @@ in
config = lib.mkIf cfg.enable {
plugins = {
conform-nvim.settings.formatters_by_ft.nix = [ "nixfmt" ];
lsp.servers.nil-ls.enable = true;
lsp.servers.nil_ls.enable = true;
nix.enable = true;
};
extraPackages = [ pkgs.nixfmt-rfc-style ];

View File

@@ -10,7 +10,7 @@ in
config = lib.mkIf cfg.enable {
plugins = {
conform-nvim.settings.formattters_by_ft.rust = [ "rustfmt" ];
lsp.servers.rust-analyzer = {
lsp.servers.rust_analyzer = {
enable = true;
installCargo = false;
installRustc = false;