aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/_defaults.lua
diff options
context:
space:
mode:
authorv1nh1shungry <v1nh1shungry@outlook.com>2025-10-01 21:56:56 +0800
committerGitHub <noreply@github.com>2025-10-01 06:56:56 -0700
commit70460d557c510149678f525efddc158709a79839 (patch)
tree4c839cc18acd606c033dbc9da8baa332f269c007 /runtime/lua/vim/_defaults.lua
parenta053186aa71d2c9fc108fd84cfce5f1a15004c05 (diff)
downloadrneovim-70460d557c510149678f525efddc158709a79839.tar.gz
rneovim-70460d557c510149678f525efddc158709a79839.tar.bz2
rneovim-70460d557c510149678f525efddc158709a79839.zip
fix(lsp): scope inline_completion autocmds to buffer (#35965)
Problem: Autocmds in inline_completion Completor are not scoped to specific buffers. When multiple buffers have inline completion enabled, events (InsertEnter, CursorMovedI, TextChangedP, InsertLeave) in any buffer trigger callbacks for all Completor instances, causing incorrect behavior across buffers. Solution: Add `buffer = bufnr` parameter to nvim_create_autocmd() calls to make them buffer-local. Each Completor instance now only responds to events in its own buffer.
Diffstat (limited to 'runtime/lua/vim/_defaults.lua')
0 files changed, 0 insertions, 0 deletions