Skip to content

Commit

Permalink
feat(lsp): show diagnostic source
Browse files Browse the repository at this point in the history
  • Loading branch information
willruggiano committed Jun 16, 2023
1 parent 9376d25 commit 582a638
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions plugins/lsp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ return function()
end,
prefix = "",
spacing = 4,
suffix = function(diagnostic)
return diagnostic.source and " [" .. diagnostic.source .. "]" or ""
end,
},
}

Expand Down

0 comments on commit 582a638

Please sign in to comment.