From 3a5a5ef0ad7a8efc0e9c67705898b26507e04cf5 Mon Sep 17 00:00:00 2001 From: EinfachToll Date: Tue, 17 May 2016 20:29:59 +0200 Subject: [PATCH] Prefer the value of nested_syntaxes over detected syntax --- syntax/vimwiki.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syntax/vimwiki.vim b/syntax/vimwiki.vim index f45cb02..0669fa7 100644 --- 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)