Skip to content
Discussion options

You must be logged in to vote

no this is wrong

nvimtreee is a plugin, so make a table for it in your plugins file

https://nvchad.com/docs/config/plugins

chadrc is just copy of this one https://github.com/NvChad/ui/blob/v3.0/lua/nvconfig.lua

lazy will merge plugin tables as per order, like

{
       "abc/xyz",
        cmd = "Hi",
        opts = { width = 10 }
 }
 
{
       "abc/xyz",
        event = "VeryLazy",
        opts = { width = 20, icons = true }
 }

Now whats the final table? its this

{
      "abc/xyz",
       cmd = "Hi",
       event = "VeryLazy",
       opts = { width = 20, icons = true}
}

Now you might ask which sane user would define same plugins like that? 😂 , none does that, but distros will do!

So in this…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by siduck
Comment options

You must be logged in to vote
0 replies
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