aboutsummaryrefslogtreecommitdiff
path: root/test/functional/vimscript/executable_spec.lua
diff options
context:
space:
mode:
authorjdrouhard <john@drouhard.dev>2026-06-20 09:51:21 -0500
committerGitHub <noreply@github.com>2026-06-20 10:51:21 -0400
commit6bc6461eac98a1451d09175eeadbb959a651f2b3 (patch)
treeaaa18d47f8f94fce9ed34ce5b6df5ac9c2245efa /test/functional/vimscript/executable_spec.lua
parent69160854c5b97639f4750590b237603ffe2999db (diff)
downloadrneovim-6bc6461eac98a1451d09175eeadbb959a651f2b3.tar.gz
rneovim-6bc6461eac98a1451d09175eeadbb959a651f2b3.tar.bz2
rneovim-6bc6461eac98a1451d09175eeadbb959a651f2b3.zip
fix(lsp): multiline semantic token processing #40339
Problem: When multiline semantic token support was introduced, the loop that finds the end line for a particular token didn't sanitize the token length sent back by the LSP server. If the server returned an overflowed length (near uint32 max), neovim would burn cpu and loop for an extremely long time while trying to find the "end line" represented by the massively large token, causing neovim to seemingly hang. Solution: Stop looping once the calculated end_line reaches the actual last line of the buffer. Fixes #36257
Diffstat (limited to 'test/functional/vimscript/executable_spec.lua')
0 files changed, 0 insertions, 0 deletions