view runtime/ftplugin/bp.vim @ 34871:23dc393eadc7 v9.1.0302

patch 9.1.0302: filetype: blueprint files are not recognized Commit: https://github.com/vim/vim/commit/6be7ef5bc734ce6045d6f919f1a8559a3fa7f2fd Author: Bruno BELANYI <bruno@belanyi.fr> Date: Wed Apr 10 22:28:28 2024 +0200 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>
author Christian Brabandt <cb@256bit.org>
date Wed, 10 Apr 2024 22:45:02 +0200
parents
children bf30d8dfcc2e
line wrap: on
line source

" 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<"