From 04b0395bd46702b9529998dea6f191a7325cd737 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Simon=20D=C3=A9saulniers?= Date: Tue, 30 Oct 2018 23:50:23 -0400 Subject: [PATCH 1/1] ftplugin: syntax highlighting for fts *markdown* --- ftplugin/markdown.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ftplugin/markdown.vim b/ftplugin/markdown.vim index 68d1d3d..2c83000 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 -- 2.39.5