-
Notifications
You must be signed in to change notification settings - Fork 365
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: config = true not working on steelsojka/pears.nvim #208
Comments
The issue may be here. require "pears".setup(function(conf)
conf.pair("{", "}")
conf.expand_on_enter(false)
end) |
yes |
yeah. IDK if I should leave the issue open. I mean, maybe, the |
as @max397574 said, you can use |
Would changing it to |
Most plugins work with an optional opts table. So this can be |
Just confirmed this works very well 👍🏼
After updating lazy.nvim, - config = true,
+ config = {}, |
you could just get an error when some plugins don't have a |
Just a heads up, options that are passed to a plugin setup are now always a table, so to make pears work, you need to use a |
Did you check docs and existing issues?
Neovim version (nvim -v)
0.8.0
Operating system/version
13.0.1
Describe the bug
just like the title says,
config = true
not working on steelsojka/pears.nvimbut using
config = function() require("pears").setup() end
is.More details:
Steps To Reproduce
Just change the
config
property fromconfig = function() require("pears").setup() end
toconfig = true
Expected Behavior
config = true
should work just like like the rest. I have Comments and surround working just fine.Repro
The text was updated successfully, but these errors were encountered: