Mercurial > vim
diff 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 |
line wrap: on
line diff
--- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -252,6 +252,9 @@ au BufNewFile,BufRead *.db call dist#f " Blank au BufNewFile,BufRead *.bl setf blank +" Bitbake +au BufNewFile,BufRead *.bb,*.bbappend,*.bbclass,*/build/conf/*.conf,*/meta{-*,}/conf/*.conf setf bitbake + " Blkid cache file au BufNewFile,BufRead */etc/blkid.tab,*/etc/blkid.tab.old setf xml