commit 3a5a5ef0ad7a8efc0e9c67705898b26507e04cf5
parent 129c2818106bdb9230bbd99ee8eb81fa47c7a414
Author: EinfachToll <istjanichtzufassen@googlemail.com>
Date: Tue, 17 May 2016 20:29:59 +0200
Prefer the value of nested_syntaxes over detected syntax
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/syntax/vimwiki.vim b/syntax/vimwiki.vim
@@ -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)