refactor(defaults)!: change default 'commentstring' value to empty (#22862)

This commit is contained in:
zeertzjq
2023-04-02 23:01:48 +08:00
committed by GitHub
parent 3a4db8154f
commit 269dd747b6
13 changed files with 18 additions and 5 deletions

View File

@@ -2032,8 +2032,11 @@ describe("folded lines", function()
end)
it('multibyte fold markers work #20438', function()
meths.win_set_option(0, 'foldmethod', 'marker')
meths.win_set_option(0, 'foldmarker', '«,»')
exec([[
setlocal foldmethod=marker
setlocal foldmarker=«,»
setlocal commentstring=/*%s*/
]])
insert([[
bbbbb
bbbbb