Skip to content
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

History setup bug #153

Closed
BugLight opened this issue Aug 13, 2023 · 1 comment · May be fixed by #171
Closed

History setup bug #153

BugLight opened this issue Aug 13, 2023 · 1 comment · May be fixed by #171

Comments

@BugLight
Copy link

Hi!
I was configuring my mappings to jump between buffers in a historic order. And then I noticed that the object returned by require('cokeline.history') (https://github.com/willothy/nvim-cokeline/blob/main/README.md?plain=1#L877 see this example in docs) is not set up (its fields are not initialized).
However _G.cokeline.history works fine :)

This is how the error looks like:
Screenshot 2023-08-13 at 15 58 29

I think it is pretty easy to fix. If I have some spare time I will do it myself and will send a PR.
Also thank you for the awesome plugin!

@willothy
Copy link
Owner

This is very interesting. I actually figured out that the issue came from the uses of "/" in require calls. Apparently there is some different between . and /, though I'm not quite sure what. Until now I had kept with / because that's what the creator of the plugin did initially, but I've just changed all require calls to use . which should fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants