diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2025-08-13 07:14:49 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-13 07:14:49 +0800 |
| commit | 50ceac4054fd8181ab7430ae2cdd4582ce3fadf4 (patch) | |
| tree | 076cabdb845b03512f3b7d65bacc4d4afb8fde20 /runtime/lua/vim/provider/python.lua | |
| parent | 76a383bb7b2009090e344fbf1bc15304c598bded (diff) | |
vim-patch:9.1.1625: Autocompletion slow with include- and tag-completion (#35318)
Problem: Autocompletion slow with include- and tag-completion
Solution: Refactor ins_compl_interrupted() to also check for timeout,
further refactor code to skip outputting message when
performing autocompletion (Girish Palya).
Running `vim *` in `vim/src` was slower than expected when
'autocomplete' was enabled. Include-file and tag-file completion
sources were not subject to the timeout check, causing unnecessary
delays.
So apply the timeout check to these sources as well, improving
autocompletion responsiveness, refactor find_pattern_in_path() to take
an additional "silent" argument, to suppress any messages.
closes: vim/vim#17966
https://github.com/vim/vim/commit/59e1d7f353993e93be97dbec30d3218742960f62
Co-authored-by: Girish Palya <girishji@gmail.com>
Diffstat (limited to 'runtime/lua/vim/provider/python.lua')
0 files changed, 0 insertions, 0 deletions
