Skip to content

Error caused by async git_status #187

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
cseickel opened this issue Mar 21, 2022 · 2 comments
Closed

Error caused by async git_status #187

cseickel opened this issue Mar 21, 2022 · 2 comments
Labels
bug Something isn't working
Milestone

Comments

@cseickel
Copy link
Contributor

Probably related to this, at the current main branch:

sometimes it correctly show the folder structure, sometimes it shows an error:

Error executing vim.schedule lua callback: ...k/packer/start/neo-tree.nvim/lua/neo-tree/git/status.lua:58: atte
mpt to index local 'line' (a nil value)
stack traceback:
        ...k/packer/start/neo-tree.nvim/lua/neo-tree/git/status.lua:58: in function 'parse_git_status_line'
        ...k/packer/start/neo-tree.nvim/lua/neo-tree/git/status.lua:141: in function ''
        vim/_editor.lua: in function <vim/_editor.lua:0>

Update: I just switch to the v2.x-branch and the bug is gone :) And I found the :Neotree migrations guide really helpful and easy to follow!

bug1.mov

Originally posted by @nyngwang in #184 (comment)

@cseickel cseickel added this to the v2.0 milestone Mar 21, 2022
@cseickel cseickel added the bug Something isn't working label Mar 21, 2022
@cseickel
Copy link
Contributor Author

@nyngwang This isn't happening to me so I can't be sure it's fixed, but the latest commit on main should deal with the error in your video. Can you try it out and let me know how it goes?

@nyngwang
Copy link

nyngwang commented Mar 21, 2022

@cseickel Confirmed. The error disappear~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants