From 80741b7f7b8c2c2ff879a191fb69818c65c86bd0 Mon Sep 17 00:00:00 2001 From: Youwen Wu Date: Sun, 18 Aug 2024 20:48:20 -0700 Subject: [PATCH] feat: add lsp rename feat --- users/youwen/common/neovim/default.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/users/youwen/common/neovim/default.nix b/users/youwen/common/neovim/default.nix index 2efd999..6982d31 100644 --- a/users/youwen/common/neovim/default.nix +++ b/users/youwen/common/neovim/default.nix @@ -367,6 +367,15 @@ silent = true; }; } + { + action = '':lua vim.lsp.buf.rename()''; + key = "cr"; + options = { + desc = "Rename symbol"; + noremap = true; + silent = true; + }; + } # { # action = ":Yazi"; # key = "mf"; @@ -509,6 +518,8 @@ tabline = {}; trailspace = {}; comment = {}; + cursorword = {}; + bracketed = {}; }; };