feat: new nvim options

This commit is contained in:
Patrick 2024-03-18 20:45:50 +01:00
parent 0b2ba41bcb
commit 61946abd8b
Signed by: patrick
GPG key ID: 451F95EFB8BECD0F
3 changed files with 9 additions and 15 deletions

View file

@ -31,10 +31,12 @@
};
};
fugitive.enable = true;
neogit.enable = true;
notify.enable = true;
rust-tools = {
rainbow-delimiters.enable = true;
rustaceanvim = {
enable = true;
server.check.command = "clippy";
server.settings.files.excludeDirs = [".direnv"];
};
indent-blankline = {
enable = true;

View file

@ -23,14 +23,14 @@
enable = true;
settings = {
sources = [
{name = "luasnip";}
#{name = "luasnip";}
{name = "nvim_lsp_signature_help";}
{name = "nvim_lsp";}
{name = "buffer";}
{name = "nvim_lsp_document_symbol";}
{name = "treesitter";}
{name = "path";}
{name = "calc";}
{name = "emoji";}
{name = "nvim_lua";}
];
snippet.expand =
/*

View file

@ -34,6 +34,8 @@
};
lspBuf = {
"gd" = "definition";
"gi" = "implementation";
"<leader>h" = "hover";
"<leader>r" = "rename";
"<leader>f" = "format";
"<leader>a" = "code_action";
@ -51,16 +53,6 @@
pyright.enable = true;
texlab.enable = true;
java-language-server.enable = true;
rust-analyzer = {
enable = true;
settings = {
checkOnSave = true;
check.command = "clippy";
};
# cargo and rustc are managed per project with their own flakes.
installCargo = false;
installRustc = false;
};
nil_ls = {
enable = true;
settings = {