live-command.nvim icon indicating copy to clipboard operation
live-command.nvim copied to clipboard

Why "use { }" for installing with Lazy?

Open MoltenMonster opened this issue 4 months ago • 4 comments

Right now in the documentation, it says to do this for install with lazy.nvim, why use { }?

use {
  "smjonas/live-command.nvim",
  -- live-command supports semantic versioning via Git tags
  -- tag = "2.*",
  config = function()
    require("live-command").setup()
  end,
}

MoltenMonster avatar Aug 20 '25 10:08 MoltenMonster

@Oneechan69 Can you clarify your question please? Where does it say to use {}?

smjonas avatar Sep 28 '25 09:09 smjonas

The use { at the top of the code block instead of just {.

MoltenMonster avatar Sep 28 '25 18:09 MoltenMonster

Ah now I get it, the "use" should not be there for the lazy installation instructions ("use" is required for the packer plugin manager only). Could you create a PR that removes it? :)

smjonas avatar Sep 28 '25 21:09 smjonas

#47

sellithy avatar Nov 18 '25 17:11 sellithy