feat: new nvim options
This commit is contained in:
parent
0b2ba41bcb
commit
61946abd8b
|
@ -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;
|
||||
|
|
|
@ -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 =
|
||||
/*
|
||||
|
|
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue