Skip to content

Commit

Permalink
Use FzfLua for LSP references
Browse files Browse the repository at this point in the history
  • Loading branch information
oalders committed Dec 6, 2024
1 parent 1f8f6a4 commit 3152b9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nvim/lua/conf/lspconfig/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ vim.api.nvim_create_autocmd('LspAttach', {
vim.lsp.buf.code_action,
opts
)
vim.keymap.set('n', 'gr', vim.lsp.buf.references, opts)
vim.keymap.set('n', 'gr', '<cmd>FzfLua lsp_references<CR>', opts)
vim.keymap.set('n', '<space>f', function()
vim.lsp.buf.format({ async = true })
end, opts)
Expand Down

0 comments on commit 3152b9b

Please sign in to comment.