diff options
author | Riley Bruins <ribru17@hotmail.com> | 2024-12-07 03:01:59 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-07 03:01:59 -0800 |
commit | c63e49cce2d20cee129a6312319dde8dcea6e3f6 (patch) | |
tree | 34e35eb3626fff0aa4f0d101d4f4828c531c357c /test/functional/ui/cursor_spec.lua | |
parent | 5c245ec3e95570e515c1665a2ec694828706ac52 (diff) | |
download | rneovim-c63e49cce2d20cee129a6312319dde8dcea6e3f6.tar.gz rneovim-c63e49cce2d20cee129a6312319dde8dcea6e3f6.tar.bz2 rneovim-c63e49cce2d20cee129a6312319dde8dcea6e3f6.zip |
fix(treesitter): #trim! range for nodes ending at col 0 #31488
Problem:
char-wise folding for `#trim!` ranges are improperly calculated for nodes that
end at column 0, due to the way `get_node_text` works.
Solution:
Add the blank line that `get_node_text` removes for for nodes ending at column
0. Also properly set column positions when performing linewise trims.
Diffstat (limited to 'test/functional/ui/cursor_spec.lua')
0 files changed, 0 insertions, 0 deletions