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

unexpected error #4

Closed
ashincoder opened this issue Aug 23, 2021 · 3 comments
Closed

unexpected error #4

ashincoder opened this issue Aug 23, 2021 · 3 comments

Comments

@ashincoder
Copy link

Error detected while processing /home/ashin/.local/share/nvim/site/pack/packer/start/Catppuccino.nvim/colors/catppuccino.vim:
line 12:
E5108: Error executing lua ...acker/start/Catppuccino.nvim/lua/catppuccino/core/cs.lua:21: bad argument #1 to 'next' (table expected, got nil)

@ashincoder
Copy link
Author

I just installed it and this appears.

@pocco81
Copy link
Member

pocco81 commented Aug 23, 2021

Weird. It was working for me before and after the fix. I tried with the default config, no config, remapping stuff, etc and it still works. Anyways, it should be working now. Remember you can use the defaults like so:

local present, catppuccino = pcall(require, "catppuccino")
if not present then
    return
end

catppuccino.setup()
catppuccino.load()

@ashincoder
Copy link
Author

Sorry for mistrouble. My stupidity. I forgot to call it catppucino.setup()

gridbugs added a commit to gridbugs/catppuccin-nvim that referenced this issue Dec 26, 2022
This fixes an error in neovim v0.9:
bad argument catppuccin#4 to 'fmt' (string expected, got boolean)
nullchilly pushed a commit that referenced this issue Dec 28, 2022
This fixes an error in neovim v0.9:
bad argument #4 to 'fmt' (string expected, got boolean)
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