-
-
Notifications
You must be signed in to change notification settings - Fork 279
Description
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
.