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

@ -1,7 +1,7 @@
" Vim support file to detect file types
"
" Maintainer: The Vim Project <https://github.com/vim/vim>
" Last Change: 2025 Jun 03
" Last Change: 2025 Jun 18
" Former Maintainer: Bram Moolenaar <Bram@vim.org>
" Listen very carefully, I will say this only once
@ -309,6 +309,12 @@ au BufNewFile,BufRead *.bb,*.bbappend,*.bbclass,*/build/conf/*.conf,*/meta{-*,}/
" Blkid cache file
au BufNewFile,BufRead */etc/blkid.tab,*/etc/blkid.tab.old setf xml
" Brighterscript
au BufNewFile,BufRead *.bs setf brighterscript
" Brightscript
au BufNewFile,BufRead *.brs setf brightscript
" BSDL
au BufNewFile,BufRead *.bsd,*.bsdl setf bsdl