mirror of
https://github.com/neovim/neovim.git
synced 2024-12-24 21:25:04 -07:00
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: vim/vim#15926
626b6ab486
Co-authored-by: Wu, Zhenyu <wuzhenyu@ustc.edu>
This commit is contained in:
parent
6dad1f9f19
commit
02749de7d5
@ -2112,6 +2112,7 @@ local pattern = {
|
|||||||
['/build/conf/.*%.conf$'] = 'bitbake',
|
['/build/conf/.*%.conf$'] = 'bitbake',
|
||||||
['/meta%-.*/conf/.*%.conf$'] = 'bitbake',
|
['/meta%-.*/conf/.*%.conf$'] = 'bitbake',
|
||||||
['/meta/conf/.*%.conf$'] = 'bitbake',
|
['/meta/conf/.*%.conf$'] = 'bitbake',
|
||||||
|
['/project%-spec/configs/.*%.conf$'] = 'bitbake',
|
||||||
['/%.cabal/config$'] = 'cabalconfig',
|
['/%.cabal/config$'] = 'cabalconfig',
|
||||||
['/cabal/config$'] = 'cabalconfig',
|
['/cabal/config$'] = 'cabalconfig',
|
||||||
['/%.aws/config$'] = 'confini',
|
['/%.aws/config$'] = 'confini',
|
||||||
|
@ -134,7 +134,7 @@ func s:GetFilenameChecks() abort
|
|||||||
\ 'bib': ['file.bib'],
|
\ 'bib': ['file.bib'],
|
||||||
\ 'bicep': ['file.bicep', 'file.bicepparam'],
|
\ 'bicep': ['file.bicep', 'file.bicepparam'],
|
||||||
\ 'bindzone': ['named.root', '/bind/db.file', '/named/db.file', 'any/bind/db.file', 'any/named/db.file', 'foobar.zone'],
|
\ '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'],
|
\ 'blade': ['file.blade.php'],
|
||||||
\ 'blank': ['file.bl'],
|
\ 'blank': ['file.bl'],
|
||||||
\ 'blueprint': ['file.blp'],
|
\ 'blueprint': ['file.blp'],
|
||||||
|
Loading…
Reference in New Issue
Block a user