diff options
author | luukvbaal <31730729+luukvbaal@users.noreply.github.com> | 2023-01-11 02:52:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-11 09:52:11 +0800 |
commit | 93d99aefd314bc4abfc54c0c29a4de84b6fcc823 (patch) | |
tree | 0caeded7109412c1f37b723fd62a73e6d0b7a495 /test/functional/ui/sign_spec.lua | |
parent | 08d5b4275ecaae4d3329d4ed2469782f10dd463e (diff) | |
download | rneovim-93d99aefd314bc4abfc54c0c29a4de84b6fcc823.tar.gz rneovim-93d99aefd314bc4abfc54c0c29a4de84b6fcc823.tar.bz2 rneovim-93d99aefd314bc4abfc54c0c29a4de84b6fcc823.zip |
fix(statuscolumn): fix sign column highlights (#21727)
Resolve #21726.
Diffstat (limited to 'test/functional/ui/sign_spec.lua')
-rw-r--r-- | test/functional/ui/sign_spec.lua | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/test/functional/ui/sign_spec.lua b/test/functional/ui/sign_spec.lua index a1683a32c9..7dcd4cff25 100644 --- a/test/functional/ui/sign_spec.lua +++ b/test/functional/ui/sign_spec.lua @@ -156,6 +156,9 @@ describe('Signs', function() {0:~ }| | ]]) + -- Check that 'statuscolumn' correctly applies numhl + command('set statuscolumn=%s%=%l\\ ') + screen:expect_unchanged() end) it('highlights the cursorline sign with culhl', function() @@ -233,11 +236,13 @@ describe('Signs', function() | ]]) command('set cursorlineopt=number') + command('hi! link SignColumn IncSearch') + feed('Go<esc>2G') screen:expect([[ {1:>>}a | {8:>>}^b | {1:>>}c | - {0:~ }| + {5: } | {0:~ }| {0:~ }| {0:~ }| @@ -249,6 +254,9 @@ describe('Signs', function() {0:~ }| | ]]) + -- Check that 'statuscolumn' cursorline/signcolumn highlights are the same (#21726) + command('set statuscolumn=%s') + screen:expect_unchanged() end) it('multiple signs #9295', function() |