From 21f5069e48d92af17a0b8b805342e956282e19ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Sat, 26 Jan 2019 10:29:29 +0100 Subject: [PATCH] Code-blocks auto-color. --- autoload/vimwiki/html.vim | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/autoload/vimwiki/html.vim b/autoload/vimwiki/html.vim index ba2cc4c..243189a 100644 --- a/autoload/vimwiki/html.vim +++ b/autoload/vimwiki/html.vim @@ -344,7 +344,17 @@ endfunction function! s:tag_code(value) - return ''.s:safe_html_preformatted(s:mid(a:value, 1)).'' + let l:retstr = '' + return l:retstr endfunction