diff options
| author | Jaehwang Jung <tomtomjhj@gmail.com> | 2025-12-15 09:01:49 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-14 19:01:49 -0500 |
| commit | 63737e6e73d4a5c3fdd73b54e6e829c17a2c62b3 (patch) | |
| tree | 45acec635ad9edcf108ed881e98f81f3aee0bcdf /runtime/lua/vim/shared.lua | |
| parent | 592582ba4886d6a9f92920bc5bd9e1217a7476ac (diff) | |
| download | rneovim-63737e6e73d4a5c3fdd73b54e6e829c17a2c62b3.tar.gz rneovim-63737e6e73d4a5c3fdd73b54e6e829c17a2c62b3.tar.bz2 rneovim-63737e6e73d4a5c3fdd73b54e6e829c17a2c62b3.zip | |
fix(treesitter): no injection highlighting on last line #36951
Problem:
If the last visible line in a window is not fully displayed, this line
may not get injection highlighting. This happens because line('w$')
actually means the last *completely displayed* line.
Solution:
Use line('w$') + 1 for the botline.
This reverts 4244a967746a1476831d990153d4de85450e54d4
"test: fix failing lsp/utils_spec #36609",
which changed the test based on the wrong behavior.
Diffstat (limited to 'runtime/lua/vim/shared.lua')
0 files changed, 0 insertions, 0 deletions