diff options
author | Bruno BELANYI <bruno@belanyi.fr> | 2024-04-10 22:28:28 +0200 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2024-04-10 22:28:28 +0200 |
commit | 6be7ef5bc734ce6045d6f919f1a8559a3fa7f2fd (patch) | |
tree | 29ac367bbfa963435c0f0e0bd8ed2c81a2aa55a0 /src | |
parent | 04e5363b823827f144409df011376d00ea6df750 (diff) |
patch 9.1.0302: filetype: blueprint files are not recognizedv9.1.0302
Problem: filetype: blueprint files are not recognized
Solution: Detect '*.bp' files as blueprint files, add
a minimal filetype plugin (Bruno Belanyi)
See: https://source.android.com/docs/setup/build
closes: #14488
Signed-off-by: Bruno BELANYI <bruno@belanyi.fr>
Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/testdir/test_filetype.vim | 1 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/testdir/test_filetype.vim b/src/testdir/test_filetype.vim index 0af6e63d87..ddcd243dd6 100644 --- a/src/testdir/test_filetype.vim +++ b/src/testdir/test_filetype.vim @@ -126,6 +126,7 @@ def s:GetFilenameChecks(): dict<list<string>> blade: ['file.blade.php'], blank: ['file.bl'], blueprint: ['file.blp'], + bp: ['Android.bp'], bsdl: ['file.bsd', 'file.bsdl'], bst: ['file.bst'], bzl: ['file.bazel', 'file.bzl', 'WORKSPACE', 'WORKSPACE.bzlmod'], diff --git a/src/version.c b/src/version.c index 2f049c9427..5fb7b1f82b 100644 --- a/src/version.c +++ b/src/version.c @@ -705,6 +705,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 302, +/**/ 301, /**/ 300, |