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 /runtime/filetype.vim | |
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 'runtime/filetype.vim')
-rw-r--r-- | runtime/filetype.vim | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim index 14f633a2ac..99ac2028e1 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -2998,6 +2998,9 @@ au BufNewFile,BufRead *.txt " Blueprint markup files au BufNewFile,BufRead *.blp setf blueprint +" Blueprint build system file +au BufNewFile,BufRead *.bp setf bp + " Use the filetype detect plugins. They may overrule any of the previously " detected filetypes. runtime! ftdetect/*.vim |