Communicate support for markdown to the lsp server (#4450) (#4453)

This commit is contained in:
Wooter 2023-07-25 11:43:57 +02:00 committed by GitHub
parent 481c5cccbf
commit b216892f0c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -424,7 +424,7 @@ function! s:SendInitMessage(conn) abort
\ 'completionItem': {
\ 'snippetSupport': v:false,
\ 'commitCharactersSupport': v:false,
\ 'documentationFormat': ['plaintext'],
\ 'documentationFormat': ['plaintext', 'markdown'],
\ 'deprecatedSupport': v:false,
\ 'preselectSupport': v:false,
\ },
@ -432,7 +432,7 @@ function! s:SendInitMessage(conn) abort
\ },
\ 'hover': {
\ 'dynamicRegistration': v:false,
\ 'contentFormat': ['plaintext'],
\ 'contentFormat': ['plaintext', 'markdown'],
\ },
\ 'references': {
\ 'dynamicRegistration': v:false,

View File

@ -165,7 +165,7 @@ Before:
\ 'completionItem': {
\ 'snippetSupport': v:false,
\ 'commitCharactersSupport': v:false,
\ 'documentationFormat': ['plaintext'],
\ 'documentationFormat': ['plaintext', 'markdown'],
\ 'deprecatedSupport': v:false,
\ 'preselectSupport': v:false,
\ },
@ -173,7 +173,7 @@ Before:
\ },
\ 'hover': {
\ 'dynamicRegistration': v:false,
\ 'contentFormat': ['plaintext'],
\ 'contentFormat': ['plaintext', 'markdown'],
\ },
\ 'references': {
\ 'dynamicRegistration': v:false,