mirror of
https://github.com/neovim/neovim.git
synced 2025-11-03 09:14:24 +00:00
vim-patch:9.1.0111: filetype: no support for bats files
The '*.bats' file type is for Bash Automated Testing System (BATS)
scripts. BATS scripts are Bash with a special '@test' extension but they
otherwise work with Vim's bash filetype.
See https://github.com/bats-core/bats-core
closes: vim/vim#14039
d00fb4b3a2
Co-authored-by: Brandon Maier <brandon.maier@collins.com>
This commit is contained in:
@@ -910,6 +910,7 @@ local extension = {
|
||||
sed = 'sed',
|
||||
sexp = 'sexplib',
|
||||
bash = detect.bash,
|
||||
bats = detect.bash,
|
||||
ebuild = detect.bash,
|
||||
eclass = detect.bash,
|
||||
env = detect.sh,
|
||||
|
||||
Reference in New Issue
Block a user