patch 9.1.1468: filetype: bright(er)script files are not recognized

Problem:  filetype: bright(er)script files are not recognized
Solution: detect *.bs files as brighterscript filetype and *.brs as
          brightscript filetype, include filetype plugins (Riley Bruins)

closes: #17566

Signed-off-by: Riley Bruins <ribru17@hotmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Riley Bruins
2025-06-18 18:23:05 +02:00
committed by Christian Brabandt
parent fff0132399
commit 03e5ee25fd
6 changed files with 37 additions and 1 deletions

View File

@ -142,6 +142,8 @@ def s:GetFilenameChecks(): dict<list<string>>
blank: ['file.bl'],
blueprint: ['file.blp'],
bp: ['Android.bp'],
brighterscript: ['file.bs'],
brightscript: ['file.brs'],
bsdl: ['file.bsd', 'file.bsdl'],
bst: ['file.bst'],
bzl: ['file.bazel', 'file.bzl', 'WORKSPACE', 'WORKSPACE.bzlmod'],

View File

@ -709,6 +709,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1468,
/**/
1467,
/**/