19 lines
498 B
Lua
19 lines
498 B
Lua
return { 'neovim/nvim-lspconfig',
|
|
disable = vim.version().minor < 8,
|
|
function()
|
|
vim.diagnostic.config {
|
|
virtual_text = false,
|
|
signs = true,
|
|
update_in_insert = false,
|
|
underline = true,
|
|
severity_sort = true
|
|
}
|
|
|
|
vim.lsp.handlers['textDocument/hover'] = vim.lsp.with(
|
|
vim.lsp.handlers.hover, { border = 'solid' })
|
|
|
|
vim.lsp.handlers['textDocument/signatureHelp'] = vim.lsp.with(
|
|
vim.lsp.handlers.signature_help, { border = 'solid' })
|
|
end
|
|
}
|