feat: create gruvbox-themed nixvim configuration
Added nixvim as a flake input in flake.nix Added plugin definitions ini home-manager/stvnliu/nixvim/ Added configuration options for easy toggling for editors
This commit is contained in:
parent
2f04f90bc3
commit
fcb2066392
22 changed files with 490 additions and 39 deletions
30
home-manager/stvnliu/nixvim/lsp.nix
Normal file
30
home-manager/stvnliu/nixvim/lsp.nix
Normal file
|
@ -0,0 +1,30 @@
|
|||
{
|
||||
plugins = {
|
||||
lsp = {
|
||||
enable = true;
|
||||
servers = {
|
||||
pylsp.enable = true;
|
||||
bashls.enable = true;
|
||||
clangd.enable = true;
|
||||
fsautocomplete.enable = true;
|
||||
gopls.enable = true;
|
||||
nil_ls.enable = true;
|
||||
#nixd.enable = true;
|
||||
rust-analyzer.enable = true;
|
||||
tsserver.enable = true;
|
||||
};
|
||||
keymaps.lspBuf = {
|
||||
"gd" = "definition";
|
||||
"gD" = "references";
|
||||
"gt" = "type_definition";
|
||||
"gi" = "implementation";
|
||||
"K" = "hover";
|
||||
};
|
||||
};
|
||||
lsp-lines = {
|
||||
enable = true;
|
||||
currentLine = true;
|
||||
};
|
||||
rust-tools.enable = true;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue