Skip to content

E492 not an editor command :Glow #137

Answered by AlejandroSuero
octocron asked this question in Q&A
Discussion options

You must be logged in to vote

Seems that you have the entry cmd in the wrong place, should be outside the config entry.

cmd belongs to lazy itself.

return {
  {
    "ellisonleao/glow.nvim",
    cmd = "Glow", 
    config = function()
    require("glow").setup({
         style = "dark",
         width = 120,
       })
    end,
  },
}

Note

For more information, check the entries in plugin spec section of lazy.nvim

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by octocron
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants