feat(lsp): rename bind
1 files changed, 10 insertions(+), 0 deletions(-) M config/plugins/lsp.nix
M config/plugins/lsp.nix => config/plugins/lsp.nix +10 -0
@@ 66,5 66,15 @@ key = "<leader>ti"; options.desc = "toggle inlay hints"; } + { + action.__raw = '' + function() + vim.lsp.buf.rename() + vim.cmd('silent! wa') + end + ''; + key = "<leader>lar"; + options.desc = "LSP rename and save all buffers"; + } ]; }