Commit: patch 9.1.2060: filetype: Rasi include files are not recognized

0 views
Skip to first unread message

Christian Brabandt

unread,
Jan 6, 2026, 10:01:13 AM (5 days ago) Jan 6
to vim...@googlegroups.com
patch 9.1.2060: filetype: Rasi include files are not recognized

Commit: https://github.com/vim/vim/commit/b084b8f1db40cba2971db3bdb4528770556e7ddc
Author: Hoang Nguyen <folliek...@protonmail.com>
Date: Tue Jan 6 14:52:13 2026 +0000

patch 9.1.2060: filetype: Rasi include files are not recognized

Problem: filetype: Rasi include files are not recognized
Solution: Detect *.rasinc as rasi filetype (Hoang Nguyen)

Reference:
- https://github.com/davatorium/rofi/blob/next/doc/rofi-theme.5.markdown#file-extension

closes: #19103

Signed-off-by: Hoang Nguyen <folliek...@protonmail.com>
Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/runtime/autoload/dist/ft.vim b/runtime/autoload/dist/ft.vim
index d67f07ad0..7d30e86e5 100644
--- a/runtime/autoload/dist/ft.vim
+++ b/runtime/autoload/dist/ft.vim
@@ -3011,6 +3011,7 @@ const ft_from_ext = {
"usd": "usd",
# Rofi stylesheet
"rasi": "rasi",
+ "rasinc": "rasi",
# Zsh module
# mdd: https://github.com/zsh-users/zsh/blob/57248b88830ce56adc243a40c7773fb3825cab34/Etc/zsh-development-guide#L285-L288
# mdh, pro: https://github.com/zsh-users/zsh/blob/57248b88830ce56adc243a40c7773fb3825cab34/Etc/zsh-development-guide#L268-L271
diff --git a/src/testdir/test_filetype.vim b/src/testdir/test_filetype.vim
index 23df47680..5d94769d8 100644
--- a/src/testdir/test_filetype.vim
+++ b/src/testdir/test_filetype.vim
@@ -674,7 +674,7 @@ def s:GetFilenameChecks(): dict<list<string>>
raku: ['file.pm6', 'file.p6', 'file.t6', 'file.pod6', 'file.raku', 'file.rakumod', 'file.rakudoc', 'file.rakutest'],
raml: ['file.raml'],
rapid: ['file.sysx', 'file.Sysx', 'file.SysX', 'file.SYSx', 'file.SYSX', 'file.modx', 'file.Modx', 'file.ModX', 'file.MODx', 'file.MODX'],
- rasi: ['file.rasi'],
+ rasi: ['file.rasi', 'file.rasinc'],
ratpoison: ['.ratpoisonrc', 'ratpoisonrc'],
rbs: ['file.rbs'],
rc: ['file.rc', 'file.rch'],
diff --git a/src/version.c b/src/version.c
index 827847547..dd2b100a5 100644
--- a/src/version.c
+++ b/src/version.c
@@ -734,6 +734,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 2060,
/**/
2059,
/**/
Reply all
Reply to author
Forward
0 new messages