Closed skoch13 closed 5 months ago
Thanks, I'll have a look. Just double check you're on the latest commit - I pushed some changes about an hour ago
I’m(3b9269e). Thank you for looking into it!
Ahh, you don't have the file watcher turned on. I should guard against that.
hm, that's strange:
16:28:19 msg_show ^I...h13/.local/share/nvim/lazy/neogit/lua/neogit/process.lua:359: in function <...h13/.local/share/nvim/lazy/neogit/lua/neogit/process.lua:325>
which also breaks neogit
Oh, it defaults to disabled because I forgot to change that. It's not exactly experimental anymore... but was, for a bit
Filewatcher is a way to "push" updates to neogit. Otherwise we only "pull" after loading/running actions.
Last error seems... no clue. Could you type :messages and capture the rest of it?
If I get it right, here it the full stacktrace:
vim/_editor.lua:0: nvim_exec2(): Vim(fold):E350: Cannot create fold with current 'foldmethod'
stack traceback:
[C]: in function 'nvim_exec2'
vim/_editor.lua: in function 'cmd'
.../.local/share/nvim/lazy/neogit/lua/neogit/lib/buffer.lua:343: in function 'create_fold'
.../.local/share/nvim/lazy/neogit/lua/neogit/lib/buffer.lua:180: in function 'set_folds'
....local/share/nvim/lazy/neogit/lua/neogit/lib/ui/init.lua:611: in function 'update'
....local/share/nvim/lazy/neogit/lua/neogit/lib/ui/init.lua:588: in function 'render'
.../.local/share/nvim/lazy/neogit/lua/neogit/lib/buffer.lua:561: in function 'create'
...hare/nvim/lazy/neogit/lua/neogit/buffers/status/init.lua:78: in function 'open'
/Users/skoch13/.local/share/nvim/lazy/neogit/lua/neogit.lua:118: in function 'callback'
...share/nvim/lazy/neogit/lua/neogit/lib/git/repository.lua:75: in function 'callback'
...share/nvim/lazy/plenary.nvim/lua/plenary/async/async.lua:25: in function 'callback_or_next'
...share/nvim/lazy/plenary.nvim/lua/plenary/async/async.lua:45: in function 'saved_callback'
...are/nvim/lazy/plenary.nvim/lua/plenary/async/control.lua:126: in function 'tx'
.../share/nvim/lazy/plenary.nvim/lua/plenary/async/util.lua:67: in function 'callback'
...share/nvim/lazy/plenary.nvim/lua/plenary/async/async.lua:25: in function 'callback_or_next'
...share/nvim/lazy/plenary.nvim/lua/plenary/async/async.lua:45: in function 'cb'
...h13/.local/share/nvim/lazy/neogit/lua/neogit/process.lua:359: in function <...h13/.local/share/nvim/lazy/neogit/lua/neogit/process.lua:325>
Ah, ok. Just pushed some changes. Lemme know if the issues persist.
Oh yes, thank you. My main pain for this week has finally been resolved ❤️
Awesome. Thanks for letting me know :)
Description
Whenever I want to close neogit tab with default
q
shortcut it results in error. Once errored neogit is unusable, so I have to reopen neovim.Neovim version
NVIM v0.10.0-dev-2675+g2955c921c Build type: RelWithDebInfo LuaJIT 2.1.1710088188
Operating system and version
macOS 14.4
Steps to reproduce
Expected behavior
No response
Actual behavior
Minimal config