Prefer the value of nested_syntaxes over detected syntax
This commit is contained in:
parent
129c281810
commit
3a5a5ef0ad
@ -595,7 +595,7 @@ let b:current_syntax="vimwiki"
|
||||
" EMBEDDED syntax setup "{{{
|
||||
let s:nested = VimwikiGet('nested_syntaxes')
|
||||
if VimwikiGet('automatic_nested_syntaxes')
|
||||
let s:nested = extend(s:nested, vimwiki#base#detect_nested_syntax())
|
||||
let s:nested = extend(s:nested, vimwiki#base#detect_nested_syntax(), "keep")
|
||||
endif
|
||||
if !empty(s:nested)
|
||||
for [s:hl_syntax, s:vim_syntax] in items(s:nested)
|
||||
|
Loading…
Reference in New Issue
Block a user