global/neovim: add lsp actions
https://smarttech101.com/nvim-lsp-diagnostics-keybindings-signs-virtual-texts
This commit is contained in:
parent
01f5f49084
commit
36c0ebdc42
1 changed files with 6 additions and 0 deletions
|
@ -113,6 +113,12 @@ in
|
||||||
++ mkLeaderMap {
|
++ mkLeaderMap {
|
||||||
c = {
|
c = {
|
||||||
a.action.__raw = "vim.lsp.buf.code_action";
|
a.action.__raw = "vim.lsp.buf.code_action";
|
||||||
|
l = {
|
||||||
|
d.action.__raw = "vim.diagnostic.open_float";
|
||||||
|
"[".action.__raw = "vim.diagnostic.goto_prev";
|
||||||
|
"]".action.__raw = "vim.diagnostic.goto_next";
|
||||||
|
l.action.__raw = "vim.diagnostic.setloclist";
|
||||||
|
};
|
||||||
f.action = ":Format<Enter>";
|
f.action = ":Format<Enter>";
|
||||||
t = {
|
t = {
|
||||||
f.action = ":FormatToggle<Enter>";
|
f.action = ":FormatToggle<Enter>";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue