-
Notifications
You must be signed in to change notification settings - Fork 407
Reduce delay of completion #1885
Copy link
Copy link
Closed
Labels
Description
Is your feature request related to a problem? Please describe it.
When a completion invokes kpsewhich there is usually a noticeable delay for the first time. Setting g:vimtex_include_search_enabled = 0 is only a compromise:
- you lose access to, for example, manually installed packages and master bib database under your local texmf.
- when used together with autocompletion plugins (I tried
coc-vimtex), kpsewhich is still triggered and causes delay.
As a workaround, I turned off vimtex completion completely and used texlab LSP to provide the completion feature.
Describe the solution you'd like
Maybe exploiting the async feature of vim8 and neovim to run kpsewhich asynchronously could reduce the delay.
Reactions are currently unavailable