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, {
|
vim.lsp.handlers['textDocument/signatureHelp'] = vim.lsp.with(vim.lsp.handlers.signature_help, {
|
||||||
border = 'rounded',
|
border = 'rounded',
|
||||||
})
|
})
|
||||||
-- local on_references = vim.lsp.handlers['textDocument/references']
|
local on_references = vim.lsp.handlers['textDocument/references']
|
||||||
-- vim.lsp.handlers['textDocument/references'] = vim.lsp.with(on_references, {
|
vim.lsp.handlers['textDocument/references'] = vim.lsp.with(on_references, {
|
||||||
-- -- Use location list instead of quickfix list
|
-- Use location list instead of quickfix list
|
||||||
-- loclist = true,
|
loclist = true,
|
||||||
-- })
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
return M
|
return M
|
||||||
|
Loading…
Reference in New Issue
Block a user