From 7f17091c09ab1daa4866fa94a8d646b9e3641c1a Mon Sep 17 00:00:00 2001 From: Libor Wagner Date: Tue, 20 Nov 2018 16:21:18 +0100 Subject: [PATCH 1/1] Add option to disable code blocks concealing --- ftplugin/markdown.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ftplugin/markdown.vim b/ftplugin/markdown.vim index 68d1d3d..659df91 100644 --- a/ftplugin/markdown.vim +++ b/ftplugin/markdown.vim @@ -734,7 +734,7 @@ function! s:MarkdownHighlightSources(force) let include = '@' . toupper(filetype) endif let command = 'syntax region %s matchgroup=%s start="^\s*```\s*%s$" matchgroup=%s end="\s*```$" keepend contains=%s%s' - execute printf(command, group, startgroup, ft, endgroup, include, has('conceal') && get(g:, 'vim_markdown_conceal', 1) ? ' concealends' : '') + execute printf(command, group, startgroup, ft, endgroup, include, has('conceal') && get(g:, 'vim_markdown_conceal', 1) && get(g:, 'vim_markdown_conceal_code_blocks', 1) ? ' concealends' : '') execute printf('syntax cluster mkdNonListItem add=%s', group) let b:mkd_known_filetypes[ft] = 1 -- 2.39.5