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

lua/github-theme/init.lua:87: attempt to index field 'experiments' (a nil value) #244

Closed
rohit-kumar-j opened this issue Apr 16, 2023 · 1 comment
Assignees

Comments

@rohit-kumar-j
Copy link

rohit-kumar-j commented Apr 16, 2023

Startup Error: (nightly version)

lua/github-theme/init.lua:87: attempt to index field 'experiments' (a nil value)

I think @ful1e5 's commit 880f22 broke something.

Experimental is a nil value. Can you provide a default config for experimental when we do require('github-theme').setup({}), or a default value of false for experimental if no config?

EDIT:

Temporary: use the 0.0.7 tag to use the stable version:

-- themes/github-theme.lua
require('github-theme').setup({})
-- (lazy.nvim)
{someplugin/plugin.nvim}
{
    'projekt0n/github-nvim-theme',
    lazy = false,
    tag  = '0.0.7',
},
@caobo
Copy link

caobo commented Apr 17, 2023

@rohit-kumar-j Thank you very much. Now it works perfectly fine.
But I think there's a typo in your settings "tag = '0.0.7'," → "tag = 'v0.0.7',".

@ful1e5 ful1e5 self-assigned this Apr 17, 2023
@ful1e5 ful1e5 closed this as completed in 69ad0ee Apr 17, 2023
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

3 participants