feat: use loclist for lsp

This commit is contained in:
fiplox 2023-04-20 14:51:02 +02:00
parent 7ddeeb07b5
commit 6dddf7df02
1 changed files with 5 additions and 5 deletions

View File

@ -88,11 +88,11 @@ function M.config()
vim.lsp.handlers['textDocument/signatureHelp'] = vim.lsp.with(vim.lsp.handlers.signature_help, {
border = 'rounded',
})
-- local on_references = vim.lsp.handlers['textDocument/references']
-- vim.lsp.handlers['textDocument/references'] = vim.lsp.with(on_references, {
-- -- Use location list instead of quickfix list
-- loclist = true,
-- })
local on_references = vim.lsp.handlers['textDocument/references']
vim.lsp.handlers['textDocument/references'] = vim.lsp.with(on_references, {
-- Use location list instead of quickfix list
loclist = true,
})
end
return M