patch 9.1.0302: filetype: blueprint files are not recognized
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>
This commit is contained in:
committed by
Christian Brabandt
parent
04e5363b82
commit
6be7ef5bc7
14
runtime/ftplugin/bp.vim
Normal file
14
runtime/ftplugin/bp.vim
Normal file
@ -0,0 +1,14 @@
|
||||
" Blueprint build system filetype plugin file
|
||||
" Language: Blueprint
|
||||
" Maintainer: Bruno BELANYI <bruno.vim@belanyi.fr>
|
||||
" Latest Revision: 2024-04-10
|
||||
|
||||
if exists("b:did_ftplugin")
|
||||
finish
|
||||
endif
|
||||
let b:did_ftplugin = 1
|
||||
|
||||
setlocal comments=b:#
|
||||
setlocal commentstring=#\ %s
|
||||
|
||||
let b:undo_ftplugin = "setlocal comments< commentstring<"
|
||||
Reference in New Issue
Block a user