diff options
| author | Lewis Russell <lewis6991@gmail.com> | 2026-09-07 16:21:52 +0100 |
|---|---|---|
| committer | Lewis Russell <me@lewisr.dev> | 2026-09-24 20:36:55 +0100 |
| commit | c4efa259b4aa0bfee0c40a5b67fe5da548f51d85 (patch) | |
| tree | 384513d65058b58eaf39337db685cd985623986d /runtime/lua/vim/provider/python.lua | |
| parent | 8aae4c104640bc4fd17fd51b2eb41efe7ee460cd (diff) | |
| download | rneovim-c4efa259b4aa0bfee0c40a5b67fe5da548f51d85.tar.gz rneovim-c4efa259b4aa0bfee0c40a5b67fe5da548f51d85.tar.bz2 rneovim-c4efa259b4aa0bfee0c40a5b67fe5da548f51d85.zip | |
perf(lua): share compatible file watchers
Problem:
LSP servers can register identical file watchers before removing old
registrations. Each registration creates another watcher tree, making
setup and teardown expensive in large workspaces.
Solution:
Move glob compilation into vim._watch and accept rules for multiple
roots alongside existing single-path and LPeg inputs. Share compatible
backends until their last subscription is cancelled.
Ref: #23291
AI-assisted
Diffstat (limited to 'runtime/lua/vim/provider/python.lua')
0 files changed, 0 insertions, 0 deletions