feat: migrating neovim

This commit is contained in:
gwg313 2024-08-16 16:11:56 -04:00
parent 86266f8205
commit 8d5e0e6566
Signed by: gwg313
GPG key ID: 60FF63B4826B7400
47 changed files with 1964 additions and 222 deletions

View file

@ -0,0 +1,32 @@
{...}: {
programs.nixvim = {
plugins.none-ls = {
enable = true;
settings = {
cmd = ["bash -c nvim"];
debug = true;
};
sources = {
code_actions = {
statix.enable = true;
};
diagnostics = {
statix.enable = true;
deadnix.enable = true;
};
formatting = {
alejandra.enable = true;
stylua.enable = true;
shfmt.enable = true;
nixpkgs_fmt.enable = true;
# prettier = {
# enable = true;
# disableTsServerFormatter = true;
# };
# black.enable = true;
};
};
};
};
}