runtime(jinja): Support jinja syntax as secondary filetype

Commit: 
https://github.com/vim/vim/commit/5e53fca76fd991d64d83429d74b573cc73116d66
Author: Gregory Anders <g...@gpanders.com>
Date:   Wed Oct 16 21:30:01 2024 +0200

    runtime(jinja): Support jinja syntax as secondary filetype
    
    fixes: #https://github.com/vim/vim/issues/15880
    closes: https://github.com/vim/vim/issues/15885
    
    Signed-off-by: Gregory Anders <g...@gpanders.com>
    Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/runtime/syntax/jinja.vim b/runtime/syntax/jinja.vim
index 6000855ff..fa32c05f1 100644
--- a/runtime/syntax/jinja.vim
+++ b/runtime/syntax/jinja.vim
@@ -2,8 +2,9 @@
 " Language: Jinja
 " Maintainer: Gregory Anders
 " Upstream: https://gitlab.com/HiPhish/jinja.vim
+" Last Change: 2024 Oct 16
 
-if exists('b:current_syntax')
+if exists('b:current_syntax') && b:current_syntax =~? 'jinja'
     finish
 endif
 

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/E1t19xD-0042Us-3m%40256bit.org.

Raspunde prin e-mail lui