diff options
author | beardedsakimonkey <54521218+beardedsakimonkey@users.noreply.github.com> | 2022-11-20 20:09:35 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-20 13:09:35 -0700 |
commit | fbce9f421ad1ad466126a24524ade9df978486d5 (patch) | |
tree | 3e09107265357b1f104a8d3c06ee67f7bc3f1f6f /runtime/lua/vim/lsp/util.lua | |
parent | 565442ec421eeef0abe915d23ba481e8b75c6c38 (diff) | |
download | rneovim-fbce9f421ad1ad466126a24524ade9df978486d5.tar.gz rneovim-fbce9f421ad1ad466126a24524ade9df978486d5.tar.bz2 rneovim-fbce9f421ad1ad466126a24524ade9df978486d5.zip |
feat(diagnostic): add `suffix` option to `open_float()` (#21130)
Closes #18687
This introduces a `suffix` option to `vim.diagnostic.open_float()` (and
consequently `vim.diagnostic.config()`) that appends some text to each
diagnostic in the float.
It accepts the same types as `prefix`. For multiline diagnostics, the suffix is
only appended to the last line. By default, the suffix will render the
diagnostic error code, if any.
Diffstat (limited to 'runtime/lua/vim/lsp/util.lua')
0 files changed, 0 insertions, 0 deletions