Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Project specific plugins enabled or disabled #15

Open
practicalli-johnny opened this issue Sep 27, 2024 · 0 comments
Open

Project specific plugins enabled or disabled #15

practicalli-johnny opened this issue Sep 27, 2024 · 0 comments

Comments

@practicalli-johnny
Copy link
Contributor

Configure AstroNvim in a per project basis.

Usecase: disable astrocommunity's copilot on a per project basis.

Add a .lazy.lua file to the root of a project and enable or disable a plugin

-- contents of .lazy.lua
---@type LazySpec
return {
    { "copilot.lua", enabled = false },
}

TODO: example of enabling a pluging

Alternatives
Looks like it's possible using exrc = true as a vim option in astrocore.

See help: exrc for more details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant