aboutsummaryrefslogtreecommitdiff
path: root/test/functional/ui/fold_spec.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-04-02 23:01:48 +0800
committerGitHub <noreply@github.com>2023-04-02 23:01:48 +0800
commit269dd747b6e61842856031ca14ac26ee884ede4c (patch)
treeb1c0c4f2bd6ebdab076b8b36216d26c77e77b83a /test/functional/ui/fold_spec.lua
parent3a4db8154ff043f044ab18d5fced42bffb1002fd (diff)
downloadrneovim-269dd747b6e61842856031ca14ac26ee884ede4c.tar.gz
rneovim-269dd747b6e61842856031ca14ac26ee884ede4c.tar.bz2
rneovim-269dd747b6e61842856031ca14ac26ee884ede4c.zip
refactor(defaults)!: change default 'commentstring' value to empty (#22862)
Diffstat (limited to 'test/functional/ui/fold_spec.lua')
-rw-r--r--test/functional/ui/fold_spec.lua7
1 files changed, 5 insertions, 2 deletions
diff --git a/test/functional/ui/fold_spec.lua b/test/functional/ui/fold_spec.lua
index c8a3397a86..96e28c1978 100644
--- a/test/functional/ui/fold_spec.lua
+++ b/test/functional/ui/fold_spec.lua
@@ -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