2023-11-08 03:16:46 +01:00
|
|
|
{lib, ...}: let
|
|
|
|
inherit (lib) mkEnableOption mkMappingOption;
|
|
|
|
in {
|
2023-02-01 20:11:37 +01:00
|
|
|
options.vim.lsp = {
|
|
|
|
nvimCodeActionMenu = {
|
2023-10-21 19:15:36 +02:00
|
|
|
enable = mkEnableOption "nvim code action menu";
|
2023-05-02 23:22:35 +02:00
|
|
|
|
2023-07-30 18:13:05 +02:00
|
|
|
show = {
|
|
|
|
details = mkEnableOption "Show details" // {default = true;};
|
|
|
|
diff = mkEnableOption "Show diff" // {default = true;};
|
|
|
|
actionKind = mkEnableOption "Show action kind" // {default = true;};
|
|
|
|
};
|
|
|
|
|
2023-05-02 23:22:35 +02:00
|
|
|
mappings = {
|
|
|
|
open = mkMappingOption "Open code action menu [nvim-code-action-menu]" "<leader>ca";
|
|
|
|
};
|
2023-02-01 20:11:37 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|