2021-02-23 11:27:32 +00:00
|
|
|
-------------------------------------------------------------------------------
|
|
|
|
-- - LSP diagnostics config -
|
|
|
|
-------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
require("nvim-ale-diagnostic")
|
|
|
|
|
2021-12-02 15:12:10 +00:00
|
|
|
vim.lsp.handlers["textDocument/publishDiagnostics"] =
|
|
|
|
vim.lsp.with(
|
|
|
|
vim.lsp.diagnostic.on_publish_diagnostics,
|
|
|
|
{
|
|
|
|
underline = false,
|
|
|
|
virtual_text = false,
|
|
|
|
signs = true,
|
|
|
|
update_in_insert = false
|
|
|
|
}
|
2021-02-23 11:27:32 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
vim.g.diagnostic_enable_virtual_text = 1
|