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 = {
|
plugins.lsp = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
@ -73,8 +74,14 @@
|
||||||
gi = "implementation";
|
gi = "implementation";
|
||||||
gt = "type_definition";
|
gt = "type_definition";
|
||||||
"<leader>r" = "rename";
|
"<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