comparison runtime/filetype.vim @ 29427:2830faa3e100 v9.0.0055

patch 9.0.0055: bitbake files are not detected Commit: https://github.com/vim/vim/commit/fa49eb482729a5fe7da9c9a5ed8d14f68afa55c7 Author: Gregory Anders <greg@gpanders.com> Date: Sat Jul 16 17:46:47 2022 +0100 patch 9.0.0055: bitbake files are not detected Problem: Bitbake files are not detected. Solution: Add bitbake filetype detection by file name and contents. (Gregory Anders, closes #10697)
author Bram Moolenaar <Bram@vim.org>
date Sat, 16 Jul 2022 19:00:07 +0200
parents 87174e9f7529
children 27ebab59172e
comparison
equal deleted inserted replaced
29426:da62efc02e4f 29427:2830faa3e100
250 au BufNewFile,BufRead *.db call dist#ft#BindzoneCheck('') 250 au BufNewFile,BufRead *.db call dist#ft#BindzoneCheck('')
251 251
252 " Blank 252 " Blank
253 au BufNewFile,BufRead *.bl setf blank 253 au BufNewFile,BufRead *.bl setf blank
254 254
255 " Bitbake
256 au BufNewFile,BufRead *.bb,*.bbappend,*.bbclass,*/build/conf/*.conf,*/meta{-*,}/conf/*.conf setf bitbake
257
255 " Blkid cache file 258 " Blkid cache file
256 au BufNewFile,BufRead */etc/blkid.tab,*/etc/blkid.tab.old setf xml 259 au BufNewFile,BufRead */etc/blkid.tab,*/etc/blkid.tab.old setf xml
257 260
258 " BSDL 261 " BSDL
259 au BufNewFile,BufRead *bsd,*.bsdl setf bsdl 262 au BufNewFile,BufRead *bsd,*.bsdl setf bsdl