mirror of
https://github.com/tpope/vim-markdown.git
synced 2025-11-12 03:43:48 -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
|
hi def link markdownError Error
|
||||||
|
|
||||||
let b:current_syntax = "markdown"
|
let b:current_syntax = "markdown"
|
||||||
|
if main_syntax ==# 'markdown'
|
||||||
|
unlet main_syntax
|
||||||
|
endif
|
||||||
|
|
||||||
" vim:set sw=2:
|
" vim:set sw=2:
|
||||||
|
|||||||
Reference in New Issue
Block a user