feat: rename with leader-r
parent
cc4da2fb2d
commit
492be2d390
|
@ -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 New Issue