runtime(bp): fix comment definition in filetype plugin (#14594) Commit: https://github.com/vim/vim/commit/cee034112d41372d4c31abc327c6536b24fc25bd Author: Bruno BELANYI <br...@belanyi.fr> Date: Fri Apr 19 14:19:31 2024 +0100
runtime(bp): fix comment definition in filetype plugin (https://github.com/vim/vim/issues/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 <br...@belanyi.fr> Signed-off-by: Christian Brabandt <c...@256bit.org> diff --git a/runtime/ftplugin/bp.vim b/runtime/ftplugin/bp.vim index cb925cb0e..5ddebe523 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....@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<" -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/E1rxoJb-002J7R-Ij%40256bit.org.