frankroeder / parrot.nvim

parrot.nvim 🦜 - the plugin that brings stochastic parrots to Neovim. This is a gp.nvim-fork focused on simplicity.
Other
219 stars 14 forks source link

a nil value #2

Closed tofeeh closed 6 months ago

tofeeh commented 6 months ago

Whatever I do, I end up with the following issue:

   Error  03:14:26 notify.error lazy.nvim Failed to run `config` for parrot.nvim

/home/tofi/.config/lazy/lua/plugins/parrot.lua:12: attempt to call field 'setup' (a nil value)

# stacktrace:
  - parrot.lua:12 _in_ **config**

I have tried the default config, your config, but the result is the same - a nill value while calling config. I noticed that there is something about running without a user prompt inherited from gp.nvim, but I could not figure out an alternative value for it.

BTW, I use only perplexity API key; open AI is removed from my config.

tofeeh commented 6 months ago

Never mind, it's my skill issue; autoformatting was adding a bracket where it shouldn't be.