enabled LSP update in insert
This commit is contained in:
parent
f205eb7a02
commit
9776969c94
5
init.vim
5
init.vim
|
@ -186,9 +186,10 @@ lua << EOF
|
||||||
|
|
||||||
vim.lsp.handlers["textDocument/publishDiagnostics"] = vim.lsp.with(
|
vim.lsp.handlers["textDocument/publishDiagnostics"] = vim.lsp.with(
|
||||||
vim.lsp.diagnostic.on_publish_diagnostics, {
|
vim.lsp.diagnostic.on_publish_diagnostics, {
|
||||||
underline = true,
|
underline = true
|
||||||
|
, update_in_insert = true
|
||||||
-- This sets the spacing and the prefix, obviously.
|
-- This sets the spacing and the prefix, obviously.
|
||||||
virtual_text = {
|
, virtual_text = {
|
||||||
spacing = 4
|
spacing = 4
|
||||||
, prefix = '🔙'
|
, prefix = '🔙'
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user