nvchad/lua/plugins
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
..
configs remove Search, IncSearch and CurSearch highlights from cmp windows (#2490) 2023-11-13 09:54:26 +05:30
init.lua [feat] Make gitsigns init function async (#2538) 2023-12-08 20:59:05 +05:30