diff options
author | Shadman <shadmansaleh3@gmail.com> | 2021-06-16 12:21:04 +0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-15 23:21:04 -0700 |
commit | 3df0e475e83db6bdaa954876007564b9328d364d (patch) | |
tree | e79f2987932cab0a0e4bc3c1580098766ca9de97 /runtime/lua/vim/lsp/diagnostic.lua | |
parent | 6a77def1ee05d4e4eceddb559bc779cd9b805614 (diff) | |
download | rneovim-3df0e475e83db6bdaa954876007564b9328d364d.tar.gz rneovim-3df0e475e83db6bdaa954876007564b9328d364d.tar.bz2 rneovim-3df0e475e83db6bdaa954876007564b9328d364d.zip |
docs(lsp): Clarify opts for show_line_diagnostics()
Diffstat (limited to 'runtime/lua/vim/lsp/diagnostic.lua')
-rw-r--r-- | runtime/lua/vim/lsp/diagnostic.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/lua/vim/lsp/diagnostic.lua b/runtime/lua/vim/lsp/diagnostic.lua index d4580885db..e4acfd0711 100644 --- a/runtime/lua/vim/lsp/diagnostic.lua +++ b/runtime/lua/vim/lsp/diagnostic.lua @@ -1123,6 +1123,8 @@ end --- </pre> ---@param opts table Configuration table --- - show_header (boolean, default true): Show "Diagnostics:" header. +--- - Plus all the opts for |vim.lsp.diagnostic.get_line_diagnostics()| +--- and |vim.lsp.util.open_floating_preview()| can be used here. ---@param bufnr number The buffer number ---@param line_nr number The line number ---@param client_id number|nil the client id |