feat: use loclist for lsp
This commit is contained in:
parent
7ddeeb07b5
commit
6dddf7df02
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user