Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hrsh7th committed Oct 6, 2022
1 parent b5f801d commit 9d27211
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion autoload/vital/__vital__/VS/LSP/MarkupContent.vim
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,11 @@ function! s:normalize(markup_content, ...) abort
elseif type(a:markup_content) == type({})
let l:normalized = a:markup_content.value
if has_key(a:markup_content, 'language')
let l:normalized = '```' . a:markup_content.language . ' ' . l:normalized . ' ```'
let l:normalized = join([
\ '```' . a:markup_content.language,
\ l:normalized,
\ '```'
\ ], "\n")
endif
endif
let l:normalized = s:Text.normalize_eol(l:normalized)
Expand Down

0 comments on commit 9d27211

Please sign in to comment.