Skip to content
Discussion options

You must be logged in to vote

I do not see a documented top-level setup option for those two values. In the current source they are internal options to make_git_status_cmd, which defaults to:

ignored = "traditional"
untracked_files = "normal"

and then builds:

--ignored=<value>
--untracked-files=<value>

The documented customization point that runs before the command executes is the before_git_status event. If you need this immediately, you can mutate the generated args there:

require("neo-tree").setup({
  event_handlers = {
    {
      event = "before_git_status",
      handler = function(args)
        for i, value in ipairs(args.status_args) do
          if value:match("^%-%-ignored=") then
            args.status_args[

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by tiagoafpereira
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants