feat: add lsp rename feat

This commit is contained in:
Youwen Wu 2024-08-18 20:48:20 -07:00
parent a44b125f4a
commit 80741b7f7b
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3

View file

@ -367,6 +367,15 @@
silent = true;
};
}
{
action = '':lua vim.lsp.buf.rename()<CR>'';
key = "<Leader>cr";
options = {
desc = "Rename symbol";
noremap = true;
silent = true;
};
}
# {
# action = ":Yazi<CR>";
# key = "<Leader>mf";
@ -509,6 +518,8 @@
tabline = {};
trailspace = {};
comment = {};
cursorword = {};
bracketed = {};
};
};