patch 9.1.0809: filetype: petalinux config files not recognized

Commit: 
https://github.com/vim/vim/commit/626b6ab48682b211c22ede5a6e63513c85f93e58
Author: Wu, Zhenyu <wuzhe...@ustc.edu>
Date:   Tue Oct 22 23:21:49 2024 +0200

    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 <wuzhe...@ustc.edu>
    Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/runtime/filetype.vim b/runtime/filetype.vim
index 29dbc4b29..618d30671 100644
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -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
diff --git a/src/testdir/test_filetype.vim b/src/testdir/test_filetype.vim
index 4348cd191..f81d18fe6 100644
--- a/src/testdir/test_filetype.vim
+++ b/src/testdir/test_filetype.vim
@@ -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'],
diff --git a/src/version.c b/src/version.c
index 5b4a85307..f97eb8c2c 100644
--- a/src/version.c
+++ b/src/version.c
@@ -704,6 +704,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    809,
 /**/
     808,
 /**/

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/E1t3MS4-000U8n-Ad%40256bit.org.

Raspunde prin e-mail lui