diff options
author | Gregory Anders <greg@gpanders.com> | 2022-07-16 17:46:47 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-07-16 17:46:47 +0100 |
commit | fa49eb482729a5fe7da9c9a5ed8d14f68afa55c7 (patch) | |
tree | 9b71f0399f2a1d4226e4577ad6b58387b0248e69 /runtime/filetype.vim | |
parent | c7bd2f08e531f08723cdc677212a3633d11c9a97 (diff) |
Problem: Bitbake files are not detected.
Solution: Add bitbake filetype detection by file name and contents. (Gregory
Anders, closes #10697)
Diffstat (limited to 'runtime/filetype.vim')
-rw-r--r-- | runtime/filetype.vim | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim index 42bd4be6a6..761ed3f283 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -252,6 +252,9 @@ au BufNewFile,BufRead *.db call dist#ft#BindzoneCheck('') " 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 |