]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
runtime(bp): fix comment definition in filetype plugin (#14594)
authorBruno BELANYI <bruno@belanyi.fr>
Fri, 19 Apr 2024 13:19:31 +0000 (14:19 +0100)
committerGitHub <noreply@github.com>
Fri, 19 Apr 2024 13:19:31 +0000 (15:19 +0200)
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>
runtime/ftplugin/bp.vim

index cb925cb0ec9dcc9c0a0573349e37fc164456ef5b..5ddebe523308664955e9a2d80d1bfa727437b492 100644 (file)
@@ -1,14 +1,14 @@
 " Blueprint build system filetype plugin file
 " Language: Blueprint
 " Maintainer: Bruno BELANYI <bruno.vim@belanyi.fr>
-" Latest Revision: 2024-04-10
+" Latest Revision: 2024-04-19
 
 if exists("b:did_ftplugin")
   finish
 endif
 let b:did_ftplugin = 1
 
-setlocal comments=b:#
-setlocal commentstring=#\ %s
+setlocal comments=b://,s1:/*,mb:*,ex:*/
+setlocal commentstring=//\ %s
 
 let b:undo_ftplugin = "setlocal comments< commentstring<"