forked from aniani/vim
patch 9.1.0809: filetype: petalinux config files not recognized
Problem: filetype: petalinux config files not recognized Solution: detect 'project-spec/*.conf' files as bitbake filetype (Wu, Zhenyu) References: https://www.amd.com/en/products/software/adaptive-socs-and-fpgas/embedded-software/petalinux-sdk.html closes: #15926 Signed-off-by: Wu, Zhenyu <wuzhenyu@ustc.edu> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
6d5f4a0bed
commit
626b6ab486
@@ -283,7 +283,7 @@ au BufNewFile,BufRead *.blade.php setf blade
|
||||
au BufNewFile,BufRead *.bl setf blank
|
||||
|
||||
" Bitbake
|
||||
au BufNewFile,BufRead *.bb,*.bbappend,*.bbclass,*/build/conf/*.conf,*/meta{-*,}/conf/*.conf setf bitbake
|
||||
au BufNewFile,BufRead *.bb,*.bbappend,*.bbclass,*/build/conf/*.conf,*/meta{-*,}/conf/*.conf,*/project-spec/configs/*.conf setf bitbake
|
||||
|
||||
" Blkid cache file
|
||||
au BufNewFile,BufRead */etc/blkid.tab,*/etc/blkid.tab.old setf xml
|
||||
|
@@ -133,7 +133,8 @@ def s:GetFilenameChecks(): dict<list<string>>
|
||||
bib: ['file.bib'],
|
||||
bicep: ['file.bicep', 'file.bicepparam'],
|
||||
bindzone: ['named.root', '/bind/db.file', '/named/db.file', 'any/bind/db.file', 'any/named/db.file', 'foobar.zone'],
|
||||
bitbake: ['file.bb', 'file.bbappend', 'file.bbclass', 'build/conf/local.conf', 'meta/conf/layer.conf', 'build/conf/bbappend.conf', 'meta-layer/conf/distro/foo.conf'],
|
||||
bitbake: ['file.bb', 'file.bbappend', 'file.bbclass', 'build/conf/local.conf', 'meta/conf/layer.conf', 'build/conf/bbappend.conf', 'meta-layer/conf/distro/foo.conf',
|
||||
'project-spec/configs/zynqmp-generic-xczu7ev.conf'],
|
||||
blade: ['file.blade.php'],
|
||||
blank: ['file.bl'],
|
||||
blueprint: ['file.blp'],
|
||||
|
@@ -704,6 +704,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
809,
|
||||
/**/
|
||||
808,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user