vim: Another nix lsp

Might be a tad too powerful for its own good, let's see
This commit is contained in:
Geoffrey Frogeye 2024-09-15 22:34:10 +02:00
parent 812e5acf6c
commit dee90d9a96
Signed by: geoffrey
GPG key ID: C72403E7F82E6AD8

View file

@ -22,6 +22,7 @@
# nix # nix
lix lix
nixpkgs-fmt
# Always on (graphical) # Always on (graphical)
] ++ lib.optionals config.frogeye.desktop.xorg [ ] ++ lib.optionals config.frogeye.desktop.xorg [
@ -62,9 +63,16 @@
lua-ls.enable = true; # Lua (for Neovim debugging) lua-ls.enable = true; # Lua (for Neovim debugging)
perlpls.enable = config.frogeye.dev.perl; # Perl perlpls.enable = config.frogeye.dev.perl; # Perl
phpactor.enable = config.frogeye.dev.php; # PHP phpactor.enable = config.frogeye.dev.php; # PHP
nixd = { # Nix
nil-ls = {
enable = true; enable = true;
settings.formatting.command = [ "nixpkgs-fmt" ]; settings = {
formatting.command = [ "nixpkgs-fmt" ];
nix.flake = {
autoArchive = true;
autoEvalInputs = true;
};
};
}; };
# TODO Something for SQL. sqls is deprecated, sqlls is not in Nixpkgs. Probably needs a DB connection configured anyways? # TODO Something for SQL. sqls is deprecated, sqlls is not in Nixpkgs. Probably needs a DB connection configured anyways?
yamlls.enable = true; # YAML yamlls.enable = true; # YAML