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/ftplugin | |
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/ftplugin')
-rw-r--r-- | runtime/ftplugin/bp.vim | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/runtime/ftplugin/bp.vim b/runtime/ftplugin/bp.vim new file mode 100644 index 0000000000..cb925cb0ec --- /dev/null +++ b/runtime/ftplugin/bp.vim @@ -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<" |