feat(diagnostics): show diagnostics source when more than one source is reporting diagnostics

This commit is contained in:
Folke Lemaitre 2023-04-18 19:59:19 +02:00
parent 77efbe8bcf
commit 06c38c52a9
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040

View file

@ -21,7 +21,11 @@ return {
diagnostics = {
underline = true,
update_in_insert = false,
virtual_text = { spacing = 4, prefix = "" },
virtual_text = {
spacing = 4,
source = "if_many",
prefix = "",
},
severity_sort = true,
},
-- Automatically format on save