diff options
| author | ashab-k <145352237+ashab-k@users.noreply.github.com> | 2026-01-15 07:50:24 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-01-15 10:20:24 +0800 |
| commit | 86c939ba91e97f0364bf5ba877a0fb4f45309c35 (patch) | |
| tree | b51a2e573193eb0ecedcdd65358757a2567a71b0 /test/functional/vimscript/executable_spec.lua | |
| parent | 4451adbf84c311905f91fad8b88e9636dae860d2 (diff) | |
| download | rneovim-86c939ba91e97f0364bf5ba877a0fb4f45309c35.tar.gz rneovim-86c939ba91e97f0364bf5ba877a0fb4f45309c35.tar.bz2 rneovim-86c939ba91e97f0364bf5ba877a0fb4f45309c35.zip | |
fix(treesitter): fix spell navigation on first line (#37361)
Problem: Spell navigation skips words on the first line because
_on_spell_nav passes an empty range (0,0) to the highlighter.
Solution: Use math.max(erow, srow + 1) to ensure a valid search window.
Signed-off-by: ashab-k <ashabkhan2000@gmail.com>
Diffstat (limited to 'test/functional/vimscript/executable_spec.lua')
0 files changed, 0 insertions, 0 deletions