summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruno BELANYI <bruno@belanyi.fr>2024-04-19 14:19:31 +0100
committerGitHub <noreply@github.com>2024-04-19 15:19:31 +0200
commitcee034112d41372d4c31abc327c6536b24fc25bd (patch)
treefffd377afe2c94cdd51efd86ff259b71f5bc536f
parentce736033ae86e14e8b1a56a3e4843c7ab24e48d2 (diff)
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>
-rw-r--r--runtime/ftplugin/bp.vim6
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/ftplugin/bp.vim b/runtime/ftplugin/bp.vim
index cb925cb0ec..5ddebe5233 100644
--- a/runtime/ftplugin/bp.vim
+++ b/runtime/ftplugin/bp.vim
@@ -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<"