feat(nvim): add actions-preview for lsp

This commit is contained in:
Moritz Böhme 2025-07-31 16:19:36 +02:00
parent fff647a2ce
commit 62095c0b89
No known key found for this signature in database
GPG key ID: 970C6E89EB0547A9

View file

@ -28,6 +28,7 @@
},
}
'';
plugins.actions-preview.enable = true;
plugins.lsp = {
enable = true;
@ -73,8 +74,14 @@
gi = "implementation";
gt = "type_definition";
"<leader>r" = "rename";
"<leader>q" = "code_action";
};
extra = [
{
key = "<leader>q";
action.__raw = ''require("actions-preview").code_actions'';
options.desc = "Quick/code action";
}
];
};
};
};