This commit is contained in:
Omixxx 2023-02-21 23:45:41 +01:00
parent d38bafbaba
commit 246852f305
1 changed files with 1 additions and 1 deletions

View File

@ -436,7 +436,7 @@ local on_attach = function(_, bufnr)
end end
nmap('<leader>lr', vim.lsp.buf.rename, '[L]sp [r]ename') nmap('<leader>lr', vim.lsp.buf.rename, '[L]sp [r]ename')
nmap('<leader>la', vim.lsp.buf.code_action(), '[L]sp [A]ction') nmap('<leader>la', vim.lsp.buf.code_action, '[L]sp [A]ction')
nmap('gd', vim.lsp.buf.definition, '[G]oto [D]efinition') nmap('gd', vim.lsp.buf.definition, '[G]oto [D]efinition')
nmap('gr', require('telescope.builtin').lsp_references, '[G]oto [R]eferences') nmap('gr', require('telescope.builtin').lsp_references, '[G]oto [R]eferences')