mirror of
https://github.com/neovim/neovim
synced 2025-07-15 16:51:49 +00:00
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: vim/vim#17566
03e5ee25fd
Co-authored-by: Riley Bruins <ribru17@hotmail.com>
14 lines
266 B
VimL
14 lines
266 B
VimL
" 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<'
|