aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/lua/executor.c
diff options
context:
space:
mode:
authorGregory Anders <8965202+gpanders@users.noreply.github.com>2024-03-12 16:13:40 -0500
committerGitHub <noreply@github.com>2024-03-12 16:13:40 -0500
commitdc7ccd6bca81dfa6ade6462a6e30770c63d48266 (patch)
tree9a44cd01da9ab2f15d711b1ae399c0395bcf282e /src/nvim/lua/executor.c
parent119390e7ce3fe4f4f3da8bdd963ea10ec8976a3a (diff)
downloadrneovim-dc7ccd6bca81dfa6ade6462a6e30770c63d48266.tar.gz
rneovim-dc7ccd6bca81dfa6ade6462a6e30770c63d48266.tar.bz2
rneovim-dc7ccd6bca81dfa6ade6462a6e30770c63d48266.zip
fix(treesitter): use 0 as initial value for computing maximum (#27837)
Using -1 as the initial value can cause the pattern offset to become negative, which in turn results in a negative subpriority, which fails validation in nvim_buf_set_extmark.
Diffstat (limited to 'src/nvim/lua/executor.c')
0 files changed, 0 insertions, 0 deletions