From b216892f0c1ce7bbe9efeeb6cf55b52a473f49c2 Mon Sep 17 00:00:00 2001 From: Wooter Date: Tue, 25 Jul 2023 11:43:57 +0200 Subject: Communicate support for markdown to the lsp server (#4450) (#4453) --- autoload/ale/lsp.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'autoload') diff --git a/autoload/ale/lsp.vim b/autoload/ale/lsp.vim index daaed6fa..0519c798 100644 --- a/autoload/ale/lsp.vim +++ b/autoload/ale/lsp.vim @@ -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, -- cgit v1.2.3