summaryrefslogtreecommitdiffstats
path: root/runtime/filetype.vim
diff options
context:
space:
mode:
authorGregory Anders <greg@gpanders.com>2022-07-16 17:46:47 +0100
committerBram Moolenaar <Bram@vim.org>2022-07-16 17:46:47 +0100
commitfa49eb482729a5fe7da9c9a5ed8d14f68afa55c7 (patch)
tree9b71f0399f2a1d4226e4577ad6b58387b0248e69 /runtime/filetype.vim
parentc7bd2f08e531f08723cdc677212a3633d11c9a97 (diff)
patch 9.0.0055: bitbake files are not detectedv9.0.0056v9.0.0055
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.vim3
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