aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/pack.lua
diff options
context:
space:
mode:
authortao <2471314@gmail.com>2025-08-22 10:55:45 +0800
committerGitHub <noreply@github.com>2025-08-21 19:55:45 -0700
commitd73cfefed5e45fec91a422cd87054611ff711b30 (patch)
treef5b649285d1cbed05bc99d33fe215750cd487fde /runtime/lua/vim/pack.lua
parent12b6f65283ce8beeaed9c97dad53a7db362cdbff (diff)
downloadrneovim-d73cfefed5e45fec91a422cd87054611ff711b30.tar.gz
rneovim-d73cfefed5e45fec91a422cd87054611ff711b30.tar.bz2
rneovim-d73cfefed5e45fec91a422cd87054611ff711b30.zip
fix(folds): error when deleting lines at end of buffer #35396
Problem: with `foldmethod=expr foldexpr=v:lua.vim.treesitter.foldexpr() foldminlines=0`, deleting lines at the end of the buffer always reports an invalid top error, because the top value (i.e. the start line number of the deletion) is always 1 greater than the total line number of the modified buffer. Solution: remove the ml_line_count validation
Diffstat (limited to 'runtime/lua/vim/pack.lua')
0 files changed, 0 insertions, 0 deletions