summaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2022-04-06 11:25:17 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2022-04-06 11:25:17 +0200
commit8f3501838060d37affac7025d1ea06450fa7de85 (patch)
treee4951f000932a4362b5e1b7abd93f40748a52712 /lua
parent31c729a433dacd5644ad89701e17a23a5e7c2c6c (diff)
downloadvim-8f3501838060d37affac7025d1ea06450fa7de85.zip
vim-8f3501838060d37affac7025d1ea06450fa7de85.tar.gz
lsp : diagnostics : virtual text not in insert mode
Diffstat (limited to 'lua')
-rw-r--r--lua/user/bufferline.lua2
-rw-r--r--lua/user/lsp/handlers.lua4
2 files changed, 3 insertions, 3 deletions
diff --git a/lua/user/bufferline.lua b/lua/user/bufferline.lua
index 7d98cf0..dff1e43 100644
--- a/lua/user/bufferline.lua
+++ b/lua/user/bufferline.lua
@@ -34,7 +34,7 @@ bufferline.setup {
max_name_length = 30,
max_prefix_length = 30, -- prefix used when a buffer is de-duplicated
tab_size = 21,
- diagnostics = false, -- | "nvim_lsp" | "coc",
+ diagnostics = true, -- | "nvim_lsp" | "coc",
diagnostics_update_in_insert = false,
-- diagnostics_indicator = function(count, level, diagnostics_dict, context)
-- return "("..count..")"
diff --git a/lua/user/lsp/handlers.lua b/lua/user/lsp/handlers.lua
index b7b1a92..907f479 100644
--- a/lua/user/lsp/handlers.lua
+++ b/lua/user/lsp/handlers.lua
@@ -15,12 +15,12 @@ M.setup = function()
local config = {
-- disable virtual text
- virtual_text = false,
+ virtual_text = true,
-- show signs
signs = {
active = signs,
},
- update_in_insert = true,
+ update_in_insert = false,
underline = true,
severity_sort = true,
float = {