X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/5c9ce6b5230654c73d3bc3311f9dff7c4404f228..be5e60fa2d85fec3b585411844846678a775a5d3:/ftplugin/markdown.vim?ds=sidebyside 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