Groups
Groups
Sign in
Groups
Groups
vim_dev
Conversations
About
Send feedback
Help
Commit: runtime(jinja): Support jinja syntax as secondary filetype
3 views
Skip to first unread message
Christian Brabandt
unread,
Oct 16, 2024, 3:45:13 PM
10/16/24
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to vim...@googlegroups.com
runtime(jinja): Support jinja syntax as secondary filetype
Commit:
https://github.com/vim/vim/commit/5e53fca76fd991d64d83429d74b573cc73116d66
Author: Gregory Anders <
gr...@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 <
gr...@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
Reply all
Reply to author
Forward
0 new messages