dotfiles/symlinks/config/nvim/lua/lsp/diagnostic.lua

19 lines
513 B
Lua
Raw Normal View History

2021-02-23 11:27:32 +00:00
-------------------------------------------------------------------------------
-- - LSP diagnostics config -
-------------------------------------------------------------------------------
require("nvim-ale-diagnostic")
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