boole.nvim icon indicating copy to clipboard operation
boole.nvim copied to clipboard

Disable default values

Open Susensio opened this issue 2 years ago • 1 comments

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

Susensio avatar Nov 16 '23 09:11 Susensio

Thanks for this report, I will look into adding a disable option.

nat-418 avatar Jan 25 '24 15:01 nat-418