We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nvim_buf_get_text()
Neovim crashes when calling nvim_buf_get_text() with a large negative start_col
start_col
nvim --clean :call nvim_buf_get_text(0, 0, -123456789, 0, 0, {})<cr>
NVIM v0.10.0-dev-3119+gc7958356b
Ubuntu 22.04.3 LTS
N/A
xterm-256color
build from repo
The text was updated successfully, but these errors were encountered:
buf_get_text() doesn't clamp start_col after subtracting it from the line length.
buf_get_text()
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Problem
Neovim crashes when calling
nvim_buf_get_text()
with a large negativestart_col
Steps to reproduce
nvim --clean
:call nvim_buf_get_text(0, 0, -123456789, 0, 0, {})<cr>
Neovim version (nvim -v)
NVIM v0.10.0-dev-3119+gc7958356b
Operating system/version
Ubuntu 22.04.3 LTS
Terminal name/version
N/A
$TERM environment variable
xterm-256color
Installation
build from repo
The text was updated successfully, but these errors were encountered: