mirror of
https://github.com/vim/vim
synced 2025-07-16 09:12:00 +00:00
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:
committed by
Christian Brabandt
parent
fff0132399
commit
03e5ee25fd
11
runtime/ftplugin/brighterscript.vim
Normal file
11
runtime/ftplugin/brighterscript.vim
Normal file
@ -0,0 +1,11 @@
|
||||
" Vim filetype plugin
|
||||
" Language: Brighterscript
|
||||
" Maintainer: Riley Bruins <ribru17@gmail.com>
|
||||
" Last Change: 2025 Jun 17
|
||||
|
||||
if exists('b:did_ftplugin')
|
||||
finish
|
||||
endif
|
||||
let b:did_ftplugin = 1
|
||||
|
||||
runtime! ftplugin/brightscript.vim
|
13
runtime/ftplugin/brightscript.vim
Normal file
13
runtime/ftplugin/brightscript.vim
Normal file
@ -0,0 +1,13 @@
|
||||
" Vim filetype plugin
|
||||
" Language: Brightscript
|
||||
" Maintainer: Riley Bruins <ribru17@gmail.com>
|
||||
" Last Change: 2025 Jun 17
|
||||
|
||||
if exists('b:did_ftplugin')
|
||||
finish
|
||||
endif
|
||||
let b:did_ftplugin = 1
|
||||
|
||||
setl comments=:' commentstring='\ %s
|
||||
|
||||
let b:undo_ftplugin = 'setl com< cms<'
|
Reference in New Issue
Block a user