X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/7bfbcf41b6c2578fff0b14bf23c65d139bb81094..2ed0c9ad702531be15d197d6e296e2739c66e575:/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