Hirokazu Hata
16262472cd
lsp: add 'textDocument/documentSymbol’ callback
...
Spec: https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_documentSymbol
2020-03-01 09:10:02 +09:00
Mathias Fussenegger
38201650cd
LSP: Remove diagnostic message handling in locations_to_items
...
`locations_to_items` is for turning `Location[]` into items, not for
`Diagnostic[]`
2020-02-27 12:50:12 +01:00
Alvaro Muñoz
83add102cf
Add signs for Lsp diagnostics ( #11668 )
...
* Add signs for Lsp diagnostics
* defer sign definition until init.vim is loaded
2020-02-27 12:12:53 +01:00
Alvaro Muñoz
ad745f9da2
add support to show diagnostics count in statusline ( #11641 )
...
* add support to show diagnostics count in statusline
* documentation
2020-02-26 20:22:14 +01:00
Alvaro Muñoz
ca8699378c
LSP: implement documentHighlight ( #11638 )
...
* implement documentHighlight
* fix bug
* document highlight groups
* use uppercase for help section title
* documentation
2020-02-26 20:10:16 +01:00
Hirokazu Hata
4ac376740c
lsp: fix textDocument/completion handling
...
fix : #11826
Some lanuguage servers return complementary candidates whose prefixes do not match are also returned.
So we exclude completion candidates whose prefix does not match.
ex) Microsoft python-language-server, rust-analyzer
2020-02-19 07:27:29 +09:00
Ashkan Kiani
ee7ac469c6
LSP: Use async completion for omnifunc. ( #11578 )
2019-12-20 22:49:29 -08:00
Ashkan Kiani
026ba804d1
LSP: Improve the display of the default hover callback. ( #11576 )
...
Strips the code blocks from markdown and does syntax highlighting.
2019-12-20 02:50:37 -08:00
Ashkan Kiani
6e8c5779cf
LSP: Move default buf callbacks to vim.lsp.callbacks ( #11452 )
...
- In the process, refactored focusable_preview to a util function.
- Add text for locations_to_items of the current line.
- Improve location callback to handle multiple return values by using
set_qflist.
- Remove update_tagstack and leave note for future travelers.
2019-11-26 05:59:40 -08:00