aboutsummaryrefslogtreecommitdiff
path: root/runtime/syntax/python.vim
diff options
context:
space:
mode:
authorglepnir <glephunter@gmail.com>2026-01-21 14:17:44 +0800
committerGitHub <noreply@github.com>2026-01-21 14:17:44 +0800
commitc556972ae10d0e61337dbc804a4a0af4e390f98e (patch)
treeae7b685d70da00da5000aa74b9cb27f412f0b634 /runtime/syntax/python.vim
parent2c2203c04005495b4a6272eb178a90ce06580e9d (diff)
downloadrneovim-c556972ae10d0e61337dbc804a4a0af4e390f98e.tar.gz
rneovim-c556972ae10d0e61337dbc804a4a0af4e390f98e.tar.bz2
rneovim-c556972ae10d0e61337dbc804a4a0af4e390f98e.zip
fix(api): auto-load buffers in nvim_buf_set_* operations (#35046)
fix(api): auto-load buffers in nvim_buf_set_* operations Problem: Setting marks, lines, or text on unloaded buffers fails because ml_line_count is not accurate until the buffer is loaded. Solution: Add require_loaded_buffer() helper and use it in write operations (nvim_buf_set_lines, nvim_buf_set_text, nvim_buf_set_mark). These now auto-load buffers as needed.
Diffstat (limited to 'runtime/syntax/python.vim')
0 files changed, 0 insertions, 0 deletions