Skip to content

Commit ddf82d8

Browse files
committed
Fix markdown syntax on hover (autozimu#1139)
1 parent ca19001 commit ddf82d8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

autoload/LanguageClient.vim

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -524,6 +524,8 @@ function! s:OpenHoverPreview(bufname, lines, filetype) abort
524524
endif
525525

526526
call setline(1, lines)
527+
" trigger refresh on plasticboy/vim-markdown
528+
normal! i
527529
setlocal nomodified nomodifiable
528530

529531
wincmd p

0 commit comments

Comments
 (0)