ahmedkhalf / project.nvim

The superior project management solution for neovim.
Apache License 2.0
1.29k stars 119 forks source link

[NvimTree] unknown option: update_focused_file.auto_open #121

Closed MannyFay closed 12 months ago

MannyFay commented 1 year ago

Why I get this message?

I has implement it in my like in the readme.md:

  -- Settings for Project plugin:
  sync_root_with_cwd  = true,
  respect_buf_cwd     = true,
  update_focused_file = {
    enable    = true,
    auto_open = false,
    -- Don't switch automatically the project root:
    update_root = false
  },
keevan commented 1 year ago

Hi @MannyFay, it seems the option auto_open you have set is not a valid option under the update_focused_file node.

image

At least from my version of nvim-tree. You may need to tweak this to prevent the option from showing. I couldn't find the auto_open listed in https://github.com/ahmedkhalf/project.nvim/blob/main/README.md, perhaps you are looking at a different document?

MannyFay commented 12 months ago

Thanks :) You're right!