feat(nvim): add actions-preview for lsp
This commit is contained in:
parent
fff647a2ce
commit
62095c0b89
1 changed files with 8 additions and 1 deletions
|
|
@ -28,6 +28,7 @@
|
|||
},
|
||||
}
|
||||
'';
|
||||
plugins.actions-preview.enable = true;
|
||||
|
||||
plugins.lsp = {
|
||||
enable = true;
|
||||
|
|
@ -73,8 +74,14 @@
|
|||
gi = "implementation";
|
||||
gt = "type_definition";
|
||||
"<leader>r" = "rename";
|
||||
"<leader>q" = "code_action";
|
||||
};
|
||||
extra = [
|
||||
{
|
||||
key = "<leader>q";
|
||||
action.__raw = ''require("actions-preview").code_actions'';
|
||||
options.desc = "Quick/code action";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue