Skip to content
This repository was archived by the owner on Jan 21, 2026. It is now read-only.
This repository was archived by the owner on Jan 21, 2026. It is now read-only.

Project specific plugins enabled or disabled #15

@practicalli-johnny

Description

@practicalli-johnny

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions