This option allows prepending characters or text to the diagnostics
which are display as virtual text. It allows virtual text to be
differentiated from the code
* allow for MarkdownContent in completion info
* add check for correct type in MarkupContent
* also pass Markdown, and hope for the best
* d'oh!
* advertise plaintext preference in documentation
* fix documentationFormat
Co-Authored-By: Thomas Faingnaert <thomas.faingnaert@hotmail.com>
* use locationLink for definition preview
* remove cursor setting for location link
* make vint happy
* also advertise support for declaration, typeDefinition, implementation
* small refactor
* refactor to avoid code duplication
* restore lost check for file
* Highlight active parameter in signatureHelp
* Support `[number, number]` form of parameter label.
* Support parameter's documentation.
* Fix extracting parameter label
This was tested with ccls, which will return CodeActionOptions instead
of a boolean in codeActionProvider. According to spec this is an invalid
response by ccls, because as a client we didn't signal
codeActionLiteralSupport. But I think it can be safely assumed that the
server provides code actions when he returns a non empty list of
codeActionKinds.
* Multibyte character support for lsp#get_position()
* Multibyte character support for "textDocument/documentHighlight"
* Fix `lsp#utils#byteindex()` would fails if a file is not yet loaded
* Add tests
* Rename lsp#utils#byteindex() and lsp#utils#charindex()
lsp#utils#byteindex() -> lsp#utils#to_col()
lsp#utils#charindex() -> lsp#utils#to_char()
* Multibyte character support for textEdit
* Remove unused line
* Multibyte character support for "textDocument/rangeFormatting"
* Multibyte character support for "textDocument/publishDiagnostics"
* Add g:lsp_signs_priority option
When used with other plugins (e.g. gitgutter), the signs will often get
replaced. This patch makes priority configurable for the user and
defaults to a value of 15, which should be a reasonable value for most
use cases.
* Adapt vim's default value of 10 as sign priority