mirror of
https://github.com/neovim/neovim.git
synced 2024-12-24 13:15:09 -07:00
vim-patch:cee034112d41
runtime(bp): fix comment definition in filetype plugin (vim/vim#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.
cee034112d
Co-authored-by: Bruno BELANYI <bruno@belanyi.fr>
This commit is contained in:
parent
18da6964cc
commit
57c8f68e3b
@ -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<"
|
||||||
|
Loading…
Reference in New Issue
Block a user