diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2020-09-21 14:50:24 +0200 |
---|---|---|
committer | Björn Linse <bjorn.linse@gmail.com> | 2020-09-24 19:31:58 +0200 |
commit | a958039f0ad7cd4f6a139fde18795c88c623a30e (patch) | |
tree | ad295c6bd9680e69132bba6f3575aa1ee8a702cf /test/functional/ui/fold_spec.lua | |
parent | f8134f2fd1e2effe79d011b1ff12ebb8719c3ffe (diff) | |
download | rneovim-a958039f0ad7cd4f6a139fde18795c88c623a30e.tar.gz rneovim-a958039f0ad7cd4f6a139fde18795c88c623a30e.tar.bz2 rneovim-a958039f0ad7cd4f6a139fde18795c88c623a30e.zip |
screen: more work on fold_line replacement
Diffstat (limited to 'test/functional/ui/fold_spec.lua')
-rw-r--r-- | test/functional/ui/fold_spec.lua | 24 |
1 files changed, 7 insertions, 17 deletions
diff --git a/test/functional/ui/fold_spec.lua b/test/functional/ui/fold_spec.lua index 9fe4b2580f..fe67b9f6b0 100644 --- a/test/functional/ui/fold_spec.lua +++ b/test/functional/ui/fold_spec.lua @@ -132,27 +132,17 @@ describe("folded lines", function() ]]) feed('vkzf') - -- screen:snapshot_util() - -- screen:expect([[ - -- {5:^+-- 2 lines: å 语 x̎͛ العَرَبِيَّة········ - -- {1:~ }| - -- {1:~ }| - -- {1:~ }| - -- {1:~ }| - -- {1:~ }| - -- {1:~ }| - -- | - -- ]]) screen:expect{grid=[[ - {5:^+-- 2 lines: å 语 x̎͛ العَرَبِيَّة·················}| + {5:^+-- 2 lines: å 语 x̎͂̀̂͛͛ العَرَبِيَّة·················}| {1:~ }| {1:~ }| {1:~ }| {1:~ }| {1:~ }| {1:~ }| - | + | ]]} + feed_command("set noarabicshape") screen:expect([[ {5:^+-- 2 lines: å 语 x̎͂̀̂͛͛ العَرَبِيَّة·················}| @@ -167,7 +157,7 @@ describe("folded lines", function() feed_command("set number foldcolumn=2") screen:expect([[ - {7:+ }{5: 1 ^+-- 2 lines: å 语 x̎͂̀̂͛͛ العَرَبِيَّة···········}| + {7:+ }{8: 1 }{5:^+-- 2 lines: å 语 x̎͂̀̂͛͛ العَرَبِيَّة···········}| {1:~ }| {1:~ }| {1:~ }| @@ -180,7 +170,7 @@ describe("folded lines", function() -- Note: too much of the folded line gets cut off.This is a vim bug. feed_command("set rightleft") screen:expect([[ - {5:+-- 2 lines: å ······················^· 1 }{7: +}| + {5:···········ةيَّبِرَعَلا x̎͂̀̂͛͛ 语 å :senil 2 --^+}{8: 1 }{7: +}| {1: ~}| {1: ~}| {1: ~}| @@ -192,7 +182,7 @@ describe("folded lines", function() feed_command("set nonumber foldcolumn=0") screen:expect([[ - {5:+-- 2 lines: å 语 x̎͂̀̂͛͛ ال·····················^·}| + {5:·················ةيَّبِرَعَلا x̎͂̀̂͛͛ 语 å :senil 2 --^+}| {1: ~}| {1: ~}| {1: ~}| @@ -204,7 +194,7 @@ describe("folded lines", function() feed_command("set arabicshape") screen:expect([[ - {5:+-- 2 lines: å 语 x̎͂̀̂͛͛ ﺍﻟ·····················^·}| + {5:·················ةيَّبِرَعَلا x̎͂̀̂͛͛ 语 å :senil 2 --^+}| {1: ~}| {1: ~}| {1: ~}| |