Skip to content
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

Cleanup error thrown when closing neovim after failing to open a remote location #206

Open
miversen33 opened this issue May 30, 2024 · 0 comments
Assignees
Labels
bug Something isn't working Core Issues with the Core High Priority Needs addressed ASAP

Comments

@miversen33
Copy link
Owner

When netman fails to open a remote file (for whatever reason), it toss the following error on neovim close

Error detected while processing BufUnload Autocommands for "ssh://*":
Error executing lua callback: ...ns/.local/share/nvim/lazy/netman.nvim/lua/netman/api.lua:1480: bad argument #1 to 'fs_stat' (string expected, got nil)
stack traceback:
        [C]: in function 'fs_stat'
        ...ns/.local/share/nvim/lazy/netman.nvim/lua/netman/api.lua:1480: in function 'unload_buffer'
        ...ns/.local/share/nvim/lazy/netman.nvim/lua/netman/api.lua:340: in function <...ns/.local/share/nvim/lazy/netman.nvim/lua/netman/api.lua:337>

Likely due to it being unable to locate the file(s) it expects to exist.

@miversen33 miversen33 added bug Something isn't working Core Issues with the Core labels May 30, 2024
@miversen33 miversen33 self-assigned this May 30, 2024
@miversen33 miversen33 added the High Priority Needs addressed ASAP label May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Core Issues with the Core High Priority Needs addressed ASAP
Projects
None yet
Development

No branches or pull requests

1 participant