X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/f6ffce242a286d5239cf025666fe80af021a7319..be5e60fa2d85fec3b585411844846678a775a5d3:/ftplugin/markdown.vim diff --git a/ftplugin/markdown.vim b/ftplugin/markdown.vim index 659df91..989aef8 100644 --- a/ftplugin/markdown.vim +++ b/ftplugin/markdown.vim @@ -768,13 +768,13 @@ endfunction function! s:MarkdownRefreshSyntax(force) - if &filetype == 'markdown' && line('$') > 1 + if &filetype =~ 'markdown' && line('$') > 1 call s:MarkdownHighlightSources(a:force) endif endfunction function! s:MarkdownClearSyntaxVariables() - if &filetype == 'markdown' + if &filetype =~ 'markdown' unlet! b:mkd_included_filetypes endif endfunction