X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/7501816f7befaee111f9fe9b87e5a1f6acfb23e4..8b54e061e105fba060d6c24c0a05679c2f951810:/ftplugin/markdown.vim diff --git a/ftplugin/markdown.vim b/ftplugin/markdown.vim index 4019ff9..c7832d7 100644 --- a/ftplugin/markdown.vim +++ b/ftplugin/markdown.vim @@ -617,7 +617,8 @@ command! -buffer Toct call s:Toc('tab') let s:filetype_dict = { \ 'c++': 'cpp', \ 'viml': 'vim', - \ 'bash': 'sh' + \ 'bash': 'sh', + \ 'ini': 'dosini' \ } function! s:MarkdownHighlightSources(force) @@ -657,7 +658,7 @@ function! s:MarkdownHighlightSources(force) let include = '@' . toupper(filetype) endif let command = 'syntax region %s matchgroup=%s start="^\s*```%s$" matchgroup=%s end="\s*```$" keepend contains=%s%s' - execute printf(command, group, startgroup, ft, endgroup, include, has('conceal') ? ' concealends' : '') + execute printf(command, group, startgroup, ft, endgroup, include, has('conceal') && get(g:, 'vim_markdown_conceal', 1) ? ' concealends' : '') execute printf('syntax cluster mkdNonListItem add=%s', group) let b:mkd_known_filetypes[ft] = 1