Skip to content

buffer and git views are not async resulting in UI lag when git is enabled #809

Open
@peterlvilim

Description

@peterlvilim

My config:
enable_refresh_on_write = true,
-- todo fix
enable_git_status = true,
filesystem = {bind_to_cwd = true, follow_current_file = true},
buffer = {bind_to_cwd = true},
git_status = {bind_to_cwd = true}

I was seeing lag with buffer and git views. Turning off git helped. I used https://github.com/stevearc/profile.nvim and saw that it was blocked for awhile while running git command. Looked through code and filesystem seems async (and works fine in my testing) but the other two aren't.

Was thinking of fixing this. Any reason it is the way it is or could I go ahead and try?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions