aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/lsp/handlers.lua
diff options
context:
space:
mode:
authorbeardedsakimonkey <54521218+beardedsakimonkey@users.noreply.github.com>2022-11-20 23:57:36 +0000
committerGitHub <noreply@github.com>2022-11-20 16:57:36 -0700
commit126ef65e5b3ff0da68bfe166be0bb0a33664142b (patch)
treef47d165c647ab7c5665d51ff618a8d07a92a4ce7 /runtime/lua/vim/lsp/handlers.lua
parentfbce9f421ad1ad466126a24524ade9df978486d5 (diff)
downloadrneovim-126ef65e5b3ff0da68bfe166be0bb0a33664142b.tar.gz
rneovim-126ef65e5b3ff0da68bfe166be0bb0a33664142b.tar.bz2
rneovim-126ef65e5b3ff0da68bfe166be0bb0a33664142b.zip
feat(diagnostic): add `suffix` option to `virt_text` config (#21140)
This introduces a `suffix` option to the `virt_text` config in `vim.diagnostic.config()`. The suffix can either be a string which is appended to the diagnostic message or a function returning such. The function receives a `diagnostic` argument, which is the diagnostic table of the last diagnostic (the one whose message is rendered as virt text).
Diffstat (limited to 'runtime/lua/vim/lsp/handlers.lua')
0 files changed, 0 insertions, 0 deletions