recipe.nvim
recipe.nvim copied to clipboard
README problems
Hi there,
This looks like a great plugin.
I noticed some problems, when setting up according to the readme:
- the terminal settings:
term = {
height = 0.7,
width = 0.5,
type = "smart",
border = "single",
jump_to_end = true,
auto_close = false,
},
should use kind
instead of type
, since that's what you use in your code.
- it isn't mentioned anywhere that you require a
global
key in thecustom_recipes
table. You are iterating over thatglobal
key in your code without any guards, so if it isn't there you produce a bunch of errors. This is even true for your premade custom recipesrequire'recipe.ft'
. They also don't contain theglobal
and thus you get a bunch of errors, so you should change those, too or add a guard when using theglobal
key in your code.
Thanks for the great work. Keep it up :)