Skip to content

Commit

Permalink
feat(diagnostics): show diagnostics source when more than one source …
Browse files Browse the repository at this point in the history
…is reporting diagnostics
  • Loading branch information
folke committed Apr 18, 2023
1 parent 77efbe8 commit 06c38c5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lua/lazyvim/plugins/lsp/init.lua
Expand Up @@ -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
Expand Down

0 comments on commit 06c38c5

Please sign in to comment.