]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
runtime(django): Add missing djangoStatement `get_language_info`.
authortecis <67809811+tecis@users.noreply.github.com>
Fri, 17 Apr 2026 14:46:01 +0000 (14:46 +0000)
committerChristian Brabandt <cb@256bit.org>
Fri, 17 Apr 2026 14:46:01 +0000 (14:46 +0000)
Source: [get_language_info](https://docs.djangoproject.com/en/6.0/topics/i18n/translation/#get-language-info) .

related: #19994

Signed-off-by: tecis <67809811+tecis@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/syntax/django.vim

index 6fdf3cdcb263c2f6d3a0955740454cb74ea68c65..11787c409b55d741a33bd8532b8c765d38ede3a4 100644 (file)
@@ -31,7 +31,7 @@ syn keyword djangoStatement contained openbrace closebrace opencomment
 syn keyword djangoStatement contained closecomment widthratio url with endwith
 syn keyword djangoStatement contained get_current_language trans noop blocktrans
 syn keyword djangoStatement contained endblocktrans get_available_languages
-syn keyword djangoStatement contained get_current_language_bidi plural
+syn keyword djangoStatement contained get_current_language_bidi get_language_info plural
 syn keyword djangoStatement contained translate blocktranslate endblocktranslate
 syn keyword djangoStatement contained partialdef endpartialdef partial
 syn keyword djangoStatement contained querystring lorem verbatim