Gregory Anders
15fbc9b69e
docs(diagnostics): fix typos
2021-09-17 08:57:51 -06:00
Gregory Anders
3fd145007c
fix(diagnostic): fix wrong data type in setqflist()
2021-09-17 08:53:08 -06:00
Gregory Anders
71e0e6cc63
fix(diagnostic): don't overwrite existing sign definitions
2021-09-17 08:44:52 -06:00
Christian Clason
3e230da90b
fix(diagnostic): show_line_diagnostic with empty lnum
...
The documentation claims to default to the current line number if
the argument `lnum` is nil, but that was never actually done.
Fixes https://github.com/neovim/neovim/issues/15690
2021-09-17 13:33:54 +02:00
Christian Clason
4881456e83
fix(diagnostic): nvim_echo takes three args ( #15687 )
...
Fixup for https://github.com/neovim/neovim/pull/15585
Closes https://github.com/neovim/neovim/issues/15686
2021-09-17 09:21:17 +02:00
Gregory Anders
0c86bf563c
refactor: remove UTF to byte col conversion
2021-09-16 11:26:45 -06:00
Gregory Anders
a5bbb932f9
refactor: move vim.lsp.diagnostic to vim.diagnostic
...
This generalizes diagnostic handling outside of just the scope of LSP.
LSP clients are now a specific case of a diagnostic producer, but the
diagnostic subsystem is decoupled from the LSP subsystem (or will be,
eventually).
More discussion at [1].
[1]: https://github.com/neovim/neovim/pull/15585
2021-09-15 14:09:47 -06:00