Skip to content

Disable default values #32

@Susensio

Description

@Susensio

Wonderful plugin!

I would like to disable some default values, i.e. enabled <-> disabled
Is there a way to accomplish that

The use case is editing a lazy.nvim plugin spec, when editing the enabled line

return {
  "nat-418/boole.nvim",
  enabled = true,         -- i want to toggle this value
  opts = {
    mappings = {
      increment = "<C-a>",
      decrement = "<C-x>",
    },
  },
  keys = {
    { mode = { "n", "v" }, "<C-a>" },
    { mode = { "n", "v" }, "<C-x>" },
  },
}

When I goto that line, if I'm on the LHS and I want to change true to false, the plugin changes enabled to disabled

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions