aboutsummaryrefslogtreecommitdiff
path: root/test/functional/terminal/window_spec.lua
diff options
context:
space:
mode:
authorLuuk van Baal <luukvbaal@gmail.com>2024-06-15 05:46:43 +0200
committerLuuk van Baal <luukvbaal@gmail.com>2024-06-16 19:04:34 +0200
commitad70c9892d5b5ebcc106742386c99524f074bcea (patch)
tree13ef468ac927d78a1f35fbdf01ffc6a2e2ba914f /test/functional/terminal/window_spec.lua
parent114197517f89de557333dbc6022912b2f8b4eaf5 (diff)
downloadrneovim-ad70c9892d5b5ebcc106742386c99524f074bcea.tar.gz
rneovim-ad70c9892d5b5ebcc106742386c99524f074bcea.tar.bz2
rneovim-ad70c9892d5b5ebcc106742386c99524f074bcea.zip
feat(column)!: rework 'statuscolumn' %r/l items
Problem: A custom 'statuscolumn' needs to check a bunch of options and placed signs to replicate the default number column. Solution: Rework %l item to include the necessary logic to mimic the default number column. Remove now redundant %r item.
Diffstat (limited to 'test/functional/terminal/window_spec.lua')
-rw-r--r--test/functional/terminal/window_spec.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/functional/terminal/window_spec.lua b/test/functional/terminal/window_spec.lua
index 118ca266dd..64534ca8dc 100644
--- a/test/functional/terminal/window_spec.lua
+++ b/test/functional/terminal/window_spec.lua
@@ -130,9 +130,9 @@ describe(':terminal window', function()
]])
feed_data('\nabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ')
screen:expect([[
- {7:++7 } |
- {7:++8 }abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQR|
- {7:++9 }TUVWXYZ |
+ {7:++ 7 } |
+ {7:++ 8 }abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQR|
+ {7:++ 9 }TUVWXYZ |
{7:++10 }abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQR|
{7:++11 }TUVWXYZrows: 6, cols: 44 |
{7:++12 }{1: } |