-
Notifications
You must be signed in to change notification settings - Fork 328
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
Setting a global option used by a plugin doesn't seem to work #107
Comments
Is this an option that needs to be set before loading the plugin? |
since the commit with which the issue was closed you should be able to put it into the |
right, wanted to mention that :) But yes, that's the solution! |
Sorry for the late reply
I'm doing this, but still pressing
|
Try |
@craigmac , this is actually what they mention in their docs
And I'm wondering why it works with packer but not with lazy |
There's nothing I'm doing with that. Did you update lazy? Since I did fix loading order to make sure |
I did I think, I did |
One other difference I see with packer (not sure if it's important or not) is that cloning As I said, not sure if it matters or not, just mentioning the differences |
I'm using partial clones instead of shallow clones. That might make a difference. |
@folke , I just noticed something; when I do If I do |
lazy=false in config |
right! It's because of the Add |
I'll change it so |
Describe the bug
I'm using the vim-ctrlspace, and it requires setting a global option for its mapping
I'm doing something like this (the file is in my
plugins
folder):What should happen after this is: when I press
<C-space>
, thevim-ctrlspace
"menu" should appear, but it doesn't seem to work, and pressing<C-space>
doesn't do anything.It's worth noting that doing the exact same setup with Packer seems to be fine (the only difference being that I would
require
the files in theplugins
folder manually)Which version of Neovim are you using?
0.8.1
To Reproduce
lazy.nvim
according to theREADME
(require('lazy').setup('plugins')
)lua/plugins/my-plugin.lua
file with the content I mentioned above<C-Space>
, and nothing happensExpected Behavior
Similar to Packer, I expect the setup to work with Lazy as well.
The text was updated successfully, but these errors were encountered: