mirror of
https://github.com/vim/vim.git
synced 2025-11-15 23:14:06 -05:00
patch 9.1.1886: filetype: Android aconfig files are not recognized
Problem: filetype: Android aconfig files are not recognized Solution: Detect *.aconfig files as pbtxt filetype (Bruno Belanyi) Reference: https://source.android.com/docs/setup/build/feature-flagging/declare-flag closes: #18656 Signed-off-by: Bruno Belanyi <bruno@belanyi.fr> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
b2e6b328da
commit
7adeb09bb2
@@ -603,7 +603,7 @@ def s:GetFilenameChecks(): dict<list<string>>
|
||||
papp: ['file.papp', 'file.pxml', 'file.pxsl'],
|
||||
pascal: ['file.pas', 'file.dpr', 'file.lpr'],
|
||||
passwd: ['any/etc/passwd', 'any/etc/passwd-', 'any/etc/passwd.edit', 'any/etc/shadow', 'any/etc/shadow-', 'any/etc/shadow.edit', 'any/var/backups/passwd.bak', 'any/var/backups/shadow.bak', '/etc/passwd', '/etc/passwd-', '/etc/passwd.edit', '/etc/shadow', '/etc/shadow-', '/etc/shadow.edit', '/var/backups/passwd.bak', '/var/backups/shadow.bak'],
|
||||
pbtxt: ['file.txtpb', 'file.textproto', 'file.textpb', 'file.pbtxt'],
|
||||
pbtxt: ['file.txtpb', 'file.textproto', 'file.textpb', 'file.pbtxt', 'file.aconfig'],
|
||||
pccts: ['file.g'],
|
||||
pcmk: ['file.pcmk'],
|
||||
pdf: ['file.pdf'],
|
||||
|
||||
@@ -729,6 +729,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1886,
|
||||
/**/
|
||||
1885,
|
||||
/**/
|
||||
|
||||
Reference in New Issue
Block a user