Closed kurokoji closed 1 month ago
OK. I will check it.
I have added your test, but it seems same result. Please check.
https://github.com/Shougo/dpp.vim/commit/a835f54247acaf62a764b25bea192314e33b64c7
You can test my test code in the previous commit. No error.
Why?
Oh, sorry. The actual hooks_file that is not working correctly is the code below. It should parse fine with this fix.
" hook_source {{{
poyo
" }}}
" hook_add {{{
" comment1 {{{
hoge
" }}}
" comment2 {{{
fuga
" }}}
" }}}
I have updated the tests. Thanks.
Fixed a bug that “comment2” was treated as a ftplugin when parsing the code shown below, because the first marker was not counted up.