2023-11-08 02:16:46 +00:00
|
|
|
{lib, ...}: let
|
|
|
|
inherit (lib) mkEnableOption mkMappingOption;
|
|
|
|
in {
|
2023-02-01 19:11:37 +00:00
|
|
|
options.vim.lsp = {
|
|
|
|
nvimCodeActionMenu = {
|
2023-10-21 17:15:36 +00:00
|
|
|
enable = mkEnableOption "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
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|