8000 README default config out of date? · Issue #1694 · NeogitOrg/neogit · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

README default config out of date? #1694

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

Open
enoryw opened this issue Mar 25, 2025 · 2 comments
Open

README default config out of date? #1694

enoryw opened this issue Mar 25, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@enoryw
Copy link
enoryw commented Mar 25, 2025

Description

Copied the default config from the README for lazy.nvim opts. Resulted in the following error:

> Failed to run `config` for neogit

====Neogit Configuration Errors====
Neogit has NOT been setup!
You have a misconfiguration in your Neogit setup!
Validate that your configuration passed to require("neogit").setup() is valid!

Config value: mappings.status['<c-p>'] had error -> Expected a valid status command, got 'PreviousSection'. Valid status commands: { false, "SplitOpen", "Pee
kFile", "GoToFile", "RefreshBuffer", "InitRepo", "Toggle", "Untrack", "Unstage", "StageAll", "OpenTree", "Depth3", "Depth4", "Depth2", "Depth1", "MoveDown", "U
nstageStaged", "ShowRefs", "GoToNextHunkHeader", "OpenOrScrollDown", "GoToPreviousHunkHeader", "MoveUp", "Command", "YankSelected", "CommandHistory", "Stage",
"VSplitOpen", "PeekDown", "Discard", "Close", "PeekUp", "OpenOrScrollUp", "TabOpen", "StageUnstaged" }
Config value: mappings.status['<c-n>'] had error -> Expected a valid status command, got 'NextSection'. Valid status commands: { false, "SplitOpen", "PeekFil
e", "GoToFile", "RefreshBuffer", "InitRepo", "Toggle", "Untrack", "Unstage", "StageAll", "OpenTree", "Depth3", "Depth4", "Depth2", "Depth1", "MoveDown", "Unsta
geStaged", "ShowRefs", "GoToNextHunkHeader", "OpenOrScrollDown", "GoToPreviousHunkHeader", "MoveUp", "Command", "YankSelected", "CommandHistory", "Stage", "VSp
litOpen", "PeekDown", "Discard", "Close", "PeekUp", "OpenOrScrollUp", "TabOpen", "StageUnstaged" }

stacktrace:

  • /neogit/lua/neogit/config.lua:1226 in setup
  • /neogit/lua/neogit.lua:71 in setup
  • .config/nvim/lua/gc/lazy.lua:28
  • .config/nvim/init.lua:283

Neovim version

NVIM v0.10.4
Build type: RelWithDebInfo
LuaJIT 2.1.1736781742

Operating system and version

Arch Linux

Steps to reproduce

Copy default options from the README for the lazy.nvim spec.

Expected behavior

No response

Actual behavior

See error above.

Minimal config

.
@enoryw enoryw added the bug Something isn't working label Mar 25, 2025
@enoryw
Copy link
Author
enoryw commented Apr 11, 2025

Sigh, this is literally following the README and encountering this issue, completely trivial to at least confirm whether it's a bug. Project's dead, I guess.

@CKolkey
Copy link
Member
CKolkey commented Apr 11, 2025

Relax, I'm home with 5 month old twins. When I have time to deal with this, I will.

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
0