2023-05-02 21:22:35 +00:00
|
|
|
{lib, ...}:
|
|
|
|
with lib; {
|
2023-02-01 19:11:37 +00:00
|
|
|
options.vim.lsp = {
|
|
|
|
nvimCodeActionMenu = {
|
2023-04-02 16:58:57 +00:00
|
|
|
enable = mkEnableOption "Enable nvim code action menu";
|
2023-05-02 21:22:35 +00:00
|
|
|
|
2023-07-30 16:13:05 +00:00
|
|
|
show = {
|
|
|
|
details = mkEnableOption "Show details" // {default = true;};
|
|
|
|
diff = mkEnableOption "Show diff" // {default = true;};
|
|
|
|
actionKind = mkEnableOption "Show action kind" // {default = true;};
|
|
|
|
};
|
|
|
|
|
2023-05-02 21:22:35 +00:00
|
|
|
mappings = {
|
|
|
|
open = mkMappingOption "Open code action menu [nvim-code-action-menu]" "<leader>ca";
|
|
|
|
};
|
2023-02-01 19:11:37 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|