changeset 35302:cb6f90763ae9 v9.1.0454

patch 9.1.0454: minor issues in test_filetype with rasi test Commit: https://github.com/vim/vim/commit/f3dd6f617c65a9b939697362efe6833eb2778612 Author: Christian Brabandt <cb@256bit.org> Date: Fri May 31 12:26:12 2024 +0200 patch 9.1.0454: minor issues in test_filetype with rasi test Problem: minor issues in test_filetype with rasi test (after 9.1.0453) Solution: re-sort test_filetype, fix wrong syntax.txt help tags Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Fri, 31 May 2024 12:30:03 +0200
parents d3014dce4053
children cd4541f7ecf6
files runtime/doc/syntax.txt runtime/doc/tags src/testdir/test_filetype.vim src/version.c
diffstat 4 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/runtime/doc/syntax.txt
+++ b/runtime/doc/syntax.txt
@@ -3051,7 +3051,7 @@ To highlight R code in knitr chunk heade
 RASI					*rasi.vim* *ft-rasi-syntax*
 
 Rasi stands for Rofi Advanced Style Information. It is used by the program
-|rofi| to style the rendering of the search window. The language is heavily
+rofi to style the rendering of the search window. The language is heavily
 inspired by CSS stylesheet. Files with the following extensions are recognized
 as rasi files: .rasi.
 
--- a/runtime/doc/tags
+++ b/runtime/doc/tags
@@ -7359,6 +7359,7 @@ ft-qf-plugin	filetype.txt	/*ft-qf-plugin
 ft-quake-syntax	syntax.txt	/*ft-quake-syntax*
 ft-r-indent	indent.txt	/*ft-r-indent*
 ft-r-syntax	syntax.txt	/*ft-r-syntax*
+ft-rasi-syntax	syntax.txt	/*ft-rasi-syntax*
 ft-readline-syntax	syntax.txt	/*ft-readline-syntax*
 ft-rego-syntax	syntax.txt	/*ft-rego-syntax*
 ft-rexx-syntax	syntax.txt	/*ft-rexx-syntax*
@@ -9643,6 +9644,7 @@ raku-unicode	ft_raku.txt	/*raku-unicode*
 rand()	builtin.txt	/*rand()*
 random	builtin.txt	/*random*
 range()	builtin.txt	/*range()*
+rasi.vim	syntax.txt	/*rasi.vim*
 raw-terminal-mode	term.txt	/*raw-terminal-mode*
 rcp	pi_netrw.txt	/*rcp*
 read-in-close-cb	channel.txt	/*read-in-close-cb*
--- a/src/testdir/test_filetype.vim
+++ b/src/testdir/test_filetype.vim
@@ -180,7 +180,6 @@ def s:GetFilenameChecks(): dict<list<str
     csdl: ['file.csdl'],
     csp: ['file.csp', 'file.fdr'],
     css: ['file.css'],
-    rasi: ['file.rasi'],
     cterm: ['file.con'],
     csv: ['file.csv'],
     cucumber: ['file.feature'],
@@ -593,6 +592,7 @@ def s:GetFilenameChecks(): dict<list<str
     radiance: ['file.rad', 'file.mat'],
     raku: ['file.pm6', 'file.p6', 'file.t6', 'file.pod6', 'file.raku', 'file.rakumod', 'file.rakudoc', 'file.rakutest'],
     raml: ['file.raml'],
+    rasi: ['file.rasi'],
     ratpoison: ['.ratpoisonrc', 'ratpoisonrc'],
     rbs: ['file.rbs'],
     rc: ['file.rc', 'file.rch'],
--- a/src/version.c
+++ b/src/version.c
@@ -705,6 +705,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    454,
+/**/
     453,
 /**/
     452,