kekl
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
{
|
||||||
|
config,
|
||||||
|
pkgs,
|
||||||
|
nixvim,
|
||||||
|
...
|
||||||
|
}:
|
||||||
{
|
{
|
||||||
programs.nixvim.plugins = {
|
programs.nixvim.plugins = {
|
||||||
clangd-extensions.enable = true;
|
clangd-extensions.enable = true;
|
||||||
@ -17,14 +23,14 @@
|
|||||||
};
|
};
|
||||||
nixd = {
|
nixd = {
|
||||||
enable = true;
|
enable = true;
|
||||||
extraOptions = {
|
#extraOptions = {
|
||||||
nixos = {
|
# nixos = {
|
||||||
expr = "(builtins.getFlake \"/etc/nixos\").nixosConfigurations.aurelionite.options";
|
# expr = "(builtins.getFlake \"/etc/nixos\").nixosConfigurations.aurelionite.options";
|
||||||
};
|
# };
|
||||||
home_manager = {
|
# home_manager = {
|
||||||
expr = "(builtins.getFlake \"/etc/nixos\").homeConfigurations.aurelionite.options";
|
# expr = "(builtins.getFlake \"/etc/nixos\").homeConfigurations.aurelionite.options";
|
||||||
};
|
# };
|
||||||
};
|
#};
|
||||||
};
|
};
|
||||||
asm_lsp = {
|
asm_lsp = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@ -46,35 +52,6 @@
|
|||||||
autostart = true;
|
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