aboutsummaryrefslogtreecommitdiff
path: root/test/functional/api/command_spec.lua
diff options
context:
space:
mode:
authorluukvbaal <31730729+luukvbaal@users.noreply.github.com>2023-02-14 08:52:22 +0100
committerGitHub <noreply@github.com>2023-02-14 15:52:22 +0800
commit53968082675cd3b8d1809e53a47c0311b7347ef9 (patch)
tree21df9c0a71da05b9c6d189ee5a42ebc4267ed1b2 /test/functional/api/command_spec.lua
parent20c9f4b3521fa7ab5c5997c0ec1a3df2b5bd0dbe (diff)
downloadrneovim-53968082675cd3b8d1809e53a47c0311b7347ef9.tar.gz
rneovim-53968082675cd3b8d1809e53a47c0311b7347ef9.tar.bz2
rneovim-53968082675cd3b8d1809e53a47c0311b7347ef9.zip
fix(folds): cursorline highlight is not always applied on closed folds (#22242)
Problem: The cursorline highlight logic checks for `w_cursor.lnum` which may be different from the line number passed to `win_line()` even when the cursor is actually on that line. Solution: Update cursor line highlight logic to check for the line number of the start of a closed fold if necessary.
Diffstat (limited to 'test/functional/api/command_spec.lua')
0 files changed, 0 insertions, 0 deletions