feat: rename with leader-r
This commit is contained in:
parent
cc4da2fb2d
commit
492be2d390
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ local function custom_on_attach(client, buffer_nr)
|
|||
bufnnoremap("ga", "<Cmd>Telescope lsp_code_actions theme=cursor<CR>")
|
||||
|
||||
-- Rename all references of symbol
|
||||
bufnnoremap("<leader>R", "<Cmd>lua vim.lsp.buf.rename()<CR>")
|
||||
bufnnoremap("<leader>r", "<Cmd>lua vim.lsp.buf.rename()<CR>")
|
||||
|
||||
-- Format buffer
|
||||
bufnnoremap("<leader>F", "<Cmd>lua vim.lsp.buf.formatting_sync()<CR>")
|
||||
|
|
Loading…
Reference in a new issue