kekl
This commit is contained in:
@ -1,3 +1,9 @@
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
nixvim,
|
||||
...
|
||||
}:
|
||||
{
|
||||
programs.nixvim.plugins = {
|
||||
clangd-extensions.enable = true;
|
||||
@ -17,14 +23,14 @@
|
||||
};
|
||||
nixd = {
|
||||
enable = true;
|
||||
extraOptions = {
|
||||
nixos = {
|
||||
expr = "(builtins.getFlake \"/etc/nixos\").nixosConfigurations.aurelionite.options";
|
||||
};
|
||||
home_manager = {
|
||||
expr = "(builtins.getFlake \"/etc/nixos\").homeConfigurations.aurelionite.options";
|
||||
};
|
||||
};
|
||||
#extraOptions = {
|
||||
# nixos = {
|
||||
# expr = "(builtins.getFlake \"/etc/nixos\").nixosConfigurations.aurelionite.options";
|
||||
# };
|
||||
# home_manager = {
|
||||
# expr = "(builtins.getFlake \"/etc/nixos\").homeConfigurations.aurelionite.options";
|
||||
# };
|
||||
#};
|
||||
};
|
||||
asm_lsp = {
|
||||
enable = true;
|
||||
@ -46,35 +52,6 @@
|
||||
autostart = true;
|
||||
};
|
||||
};
|
||||
keymaps = {
|
||||
silent = true;
|
||||
lspBuf = {
|
||||
gd = {
|
||||
action = "definition";
|
||||
desc = "Goto Definition";
|
||||
};
|
||||
gr = {
|
||||
action = "references";
|
||||
desc = "Goto References";
|
||||
};
|
||||
gD = {
|
||||
action = "declaration";
|
||||
desc = "Goto Declaration";
|
||||
};
|
||||
gI = {
|
||||
action = "implementation";
|
||||
desc = "Goto Implementation";
|
||||
};
|
||||
gT = {
|
||||
action = "type_definition";
|
||||
desc = "Type Definition";
|
||||
};
|
||||
"<leader>cr" = {
|
||||
action = "rename";
|
||||
desc = "Rename";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user