neovim new config

This commit is contained in:
afoucaultc 2026-08-19 14:54:41 +02:00
parent 763bbf5cc1
commit 315e988734
50 changed files with 739 additions and 52 deletions

View file

@ -0,0 +1,14 @@
-- diagnostic
vim.diagnostic.config({
virtual_text = {
prefix = "", -- Icône avant le message
source = "if_many", -- Affiche la source LSP si plusieurs
format = function(diag)
return string.format("%s: %s", diag.source, diag.message)
end,
},
signs = true,
underline = true,
update_in_insert = false, -- Évite flicker en insert
severity_sort = true,
})