mirror of
https://github.com/tpope/vim-markdown.git
synced 2025-11-11 19:33:49 -05:00
Clear main_syntax if we set it.
This prevents conflicts with other syntaxes that use `main_syntax`, like vim-javascript.
This commit is contained in:
@@ -126,5 +126,8 @@ hi def link markdownEscape Special
|
||||
hi def link markdownError Error
|
||||
|
||||
let b:current_syntax = "markdown"
|
||||
if main_syntax ==# 'markdown'
|
||||
unlet main_syntax
|
||||
endif
|
||||
|
||||
" vim:set sw=2:
|
||||
|
||||
Reference in New Issue
Block a user