mirror of
https://github.com/vim/vim
synced 2025-07-16 09:12:00 +00:00
runtime(bp): fix comment definition in filetype plugin (#14594)
I somehow messed up the previous patch, I think a copy-paste error when creating the file. Blueprint files have C and C++ style comments, not shell-like '#' comments. Signed-off-by: Bruno BELANYI <bruno@belanyi.fr> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
@ -1,14 +1,14 @@
|
|||||||
" Blueprint build system filetype plugin file
|
" Blueprint build system filetype plugin file
|
||||||
" Language: Blueprint
|
" Language: Blueprint
|
||||||
" Maintainer: Bruno BELANYI <bruno.vim@belanyi.fr>
|
" Maintainer: Bruno BELANYI <bruno.vim@belanyi.fr>
|
||||||
" Latest Revision: 2024-04-10
|
" Latest Revision: 2024-04-19
|
||||||
|
|
||||||
if exists("b:did_ftplugin")
|
if exists("b:did_ftplugin")
|
||||||
finish
|
finish
|
||||||
endif
|
endif
|
||||||
let b:did_ftplugin = 1
|
let b:did_ftplugin = 1
|
||||||
|
|
||||||
setlocal comments=b:#
|
setlocal comments=b://,s1:/*,mb:*,ex:*/
|
||||||
setlocal commentstring=#\ %s
|
setlocal commentstring=//\ %s
|
||||||
|
|
||||||
let b:undo_ftplugin = "setlocal comments< commentstring<"
|
let b:undo_ftplugin = "setlocal comments< commentstring<"
|
||||||
|
Reference in New Issue
Block a user