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

bug: attempting to index boolean value #14

Closed
ViRu-ThE-ViRuS opened this issue Jun 27, 2021 · 2 comments
Closed

bug: attempting to index boolean value #14

ViRu-ThE-ViRuS opened this issue Jun 27, 2021 · 2 comments

Comments

@ViRu-ThE-ViRuS
Copy link

After the recent updates, I started getting this warning when setting any color scheme from this plugin:

Error executing lua ...pack/packer/start/nvim-base16/lua/base16-colorscheme.lua:298: attempt to index field 'colorschemes' (a boolean value)

@RRethy
Copy link
Owner

RRethy commented Jun 27, 2021

Can you produce a minimal config to reproduce this. Your PR that adds /init shouldn't affect behaviour since lua/*/init.lua files are loaded automatically when you require the directory.

@ViRu-ThE-ViRuS
Copy link
Author

found the issue, it turns out the error was because I had another file named colors.lua in my config directory (rtp) which was (for some reason idk) being instead by the plugin here

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

No branches or pull requests

2 participants