diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-04-02 23:01:48 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-02 23:01:48 +0800 |
commit | 269dd747b6e61842856031ca14ac26ee884ede4c (patch) | |
tree | b1c0c4f2bd6ebdab076b8b36216d26c77e77b83a /test/functional/ui/fold_spec.lua | |
parent | 3a4db8154ff043f044ab18d5fced42bffb1002fd (diff) | |
download | rneovim-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.lua | 7 |
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 |