X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/7305d5167800429dd4c75ce5954a098f3c9cb72c..d038d9069e9a5b92055c2701f6276b25d69b1502:/syntax/mkd.vim?ds=inline diff --git a/syntax/mkd.vim b/syntax/mkd.vim index c4ceec4..afc7824 100644 --- a/syntax/mkd.vim +++ b/syntax/mkd.vim @@ -15,7 +15,10 @@ if version < 600 so :p:h/html.vim else runtime! syntax/html.vim - unlet b:current_syntax + + if exists('b:current_syntax') + unlet b:current_syntax + endif endif if version < 600