mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-23 22:00:42 +00:00
18 lines
303 B
Nix
18 lines
303 B
Nix
{
|
|
config,
|
|
lib,
|
|
...
|
|
}:
|
|
with lib;
|
|
with builtins; let
|
|
cfg = config.vim.lsp;
|
|
in {
|
|
config = mkIf (cfg.enable && cfg.nvimCodeActionMenu.enable) {
|
|
vim.startPlugins = ["nvim-code-action-menu"];
|
|
|
|
vim.maps.normal = {
|
|
"<silent><leader>ca" = {action = ":CodeActionMenu<CR>";};
|
|
};
|
|
};
|
|
}
|