mirror of
https://github.com/youwen5/nixos.git
synced 2024-11-28 11:43:51 -08:00
feat: add lsp rename feat
This commit is contained in:
parent
a44b125f4a
commit
80741b7f7b
1 changed files with 11 additions and 0 deletions
|
@ -367,6 +367,15 @@
|
||||||
silent = true;
|
silent = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
action = '':lua vim.lsp.buf.rename()<CR>'';
|
||||||
|
key = "<Leader>cr";
|
||||||
|
options = {
|
||||||
|
desc = "Rename symbol";
|
||||||
|
noremap = true;
|
||||||
|
silent = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
# {
|
# {
|
||||||
# action = ":Yazi<CR>";
|
# action = ":Yazi<CR>";
|
||||||
# key = "<Leader>mf";
|
# key = "<Leader>mf";
|
||||||
|
@ -509,6 +518,8 @@
|
||||||
tabline = {};
|
tabline = {};
|
||||||
trailspace = {};
|
trailspace = {};
|
||||||
comment = {};
|
comment = {};
|
||||||
|
cursorword = {};
|
||||||
|
bracketed = {};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue