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

Broken on latest neovim nightly #173

Closed
hahuang65 opened this issue Jul 12, 2022 · 1 comment · Fixed by #174
Closed

Broken on latest neovim nightly #173

hahuang65 opened this issue Jul 12, 2022 · 1 comment · Fixed by #174

Comments

@hahuang65
Copy link

With latest neovim-nightly (NVIM v0.8.0-dev+595-g95c65a6b2)

starting up will toss an error:

packer.nvim: Error running config for catppuccin: /home/hao/.config/nvim/lua/plu
gin/catppuccin.lua:62: Vim(lua):E5108: Error executing lua ...ck/packer/start/ca
tppuccin/lua/catppuccin/utils/util.lua:25: 'blend' must be an integer
stack traceback:
^I[C]: in function 'nvim_set_hl'
^I...ck/packer/start/catppuccin/lua/catppuccin/utils/util.lua:25: in function 'h
ighlight'
^I...ck/packer/start/catppuccin/lua/catppuccin/utils/util.lua:44: in function 's
yntax'
^I...ck/packer/start/catppuccin/lua/catppuccin/utils/util.lua:89: in function 'l
oad'
^I...ite/pack/packer/start/catppuccin/lua/catppuccin/main.lua:19: in function 'l
oad'
^I...ite/pack/packer/start/catppuccin/lua/catppuccin/main.lua:32: in function 'm
ain'
^I...ite/pack/packer/start/catppuccin/lua/catppuccin/init.lua:4: in function 'lo
ad'
^I[string ":lua"]:1: in main chunk
^I[C]: in function 'cmd'
^I/home/hao/.config/nvim/lua/plugin/catppuccin.lua:62: in main chunk
^I[C]: in function 'require'
^I[string "..."]: in function <[string "..."]:0>
^I[C]: in function 'pcall'
@nullchilly
Copy link
Member

nullchilly commented Jul 12, 2022

Note that this isn't a new behavior on neovim nightly.

It was merged before 0.7 was released neovim/neovim#17516

This is because of the new nvim_set_hl implementation in catppuccin

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