Files
neovim/runtime/ftplugin/brighterscript.vim
Barrett Ruth 0bb2f5cc08 fix(ftplugin): source inherited Lua ftplugins
Problem:
Vimscript ftplugins that inherit a base ftplugin often use explicit
`runtime! ftplugin/foo.vim` patterns. This skips corresponding Lua
ftplugins, unlike top-level ftplugin loading.

Solution:
Use the existing `{vim,lua}` patterns for bang runtime imports while
preserving each call's current lookup breadth.
2026-07-14 00:18:50 +02:00

12 lines
234 B
VimL

" 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,lua}