feat: use Telescope for code actions
This commit is contained in:
parent
94a1b5c7bc
commit
c5fc9d2e6a
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ local function custom_on_attach(client, buffer_nr)
|
||||||
bufnnoremap("gD", "<Cmd>lua vim.lsp.buf.declaration()<CR>")
|
bufnnoremap("gD", "<Cmd>lua vim.lsp.buf.declaration()<CR>")
|
||||||
bufnnoremap("gi", "<Cmd>lua vim.lsp.buf.implementation()<CR>")
|
bufnnoremap("gi", "<Cmd>lua vim.lsp.buf.implementation()<CR>")
|
||||||
bufnnoremap("gr", "<Cmd>lua vim.lsp.buf.references()<CR>")
|
bufnnoremap("gr", "<Cmd>lua vim.lsp.buf.references()<CR>")
|
||||||
bufnnoremap("ga", "<Cmd>lua vim.lsp.buf.code_action()<CR>")
|
bufnnoremap("ga", "<Cmd>Telescope lsp_code_actions theme=cursor<CR>")
|
||||||
|
|
||||||
-- Rename all references of symbol
|
-- 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>")
|
||||||
|
|
Loading…
Reference in a new issue