mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-01 19:11:15 +00:00
19 lines
507 B
Nix
19 lines
507 B
Nix
{lib, ...}:
|
|
with lib; {
|
|
options.vim.lsp = {
|
|
nvimCodeActionMenu = {
|
|
enable = mkEnableOption "Enable nvim code action menu";
|
|
|
|
show = {
|
|
details = mkEnableOption "Show details" // {default = true;};
|
|
diff = mkEnableOption "Show diff" // {default = true;};
|
|
actionKind = mkEnableOption "Show action kind" // {default = true;};
|
|
};
|
|
|
|
mappings = {
|
|
open = mkMappingOption "Open code action menu [nvim-code-action-menu]" "<leader>ca";
|
|
};
|
|
};
|
|
};
|
|
}
|