-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Not everyone probably wants a new file for each plugin they install.
Also there is no path variable for the location we want to put config in.
{
"roobert/tabtree.nvim",
config = function(_, opts)
require("tabtree").setup(opts)
end,
opts = {
path = [[lua/plugins/configs/]],
config_path = [[lua/plugins/init.lua]],
add_to_config = true, -- will append to a file (not create one)
},
}(e.g this is my file-tree)
.
├── core
│ ├── bootstrap.lua
│ ├── default_config.lua
│ ├── init.lua
│ ├── mappings.lua
│ └── utils.lua
└── plugins
├── configs
│ ├── cmp.lua
│ ├── lazy_nvim.lua
│ ├── lspconfig.lua
│ ├── mason.lua
│ ├── nvimtree.lua
│ ├── others.lua
│ ├── telescope.lua
│ └── treesitter.lua
├── init.lua
└── venn_nvim.lua
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels