nvchad/lua
Vitor Boschi da Silva bfd0ea7dcd [feat] Make gitsigns init function async (#2538)
* [feat] Make gitsigns init function async

This function is running git and also initializing a shell, which can be
a relatively slow operation. By leveraging the jobs api, we run the
command in background, reducing the time it takes for the buffer to be
available to the user. It also uses the list format for the job, which
allow us to bypass the shell entirely.

* performance: use uv.cwd() instead of fn.expand 

benchmarked luv's cwd and it seems to be 20x faster than the expand function

---------

Co-authored-by: Sidhanth Rathod <siduck@tutanota.com>
2023-12-08 20:59:05 +05:30
..
core fix typo (#2483) 2023-11-12 07:14:21 +05:30
plugins [feat] Make gitsigns init function async (#2538) 2023-12-08 20:59:05 +05:30
nvconfig.lua performance: avoid reloading config table #2360 (#2444) 2023-10-16 07:24:14 +05:30