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

[dev-remaster] katpuccinno.api.colors.get_colors() is broken #47

Closed
cwebster2 opened this issue Nov 2, 2021 · 2 comments
Closed

[dev-remaster] katpuccinno.api.colors.get_colors() is broken #47

cwebster2 opened this issue Nov 2, 2021 · 2 comments

Comments

@cwebster2
Copy link
Contributor

The readme lists the way to get the colors for a theme as
image

This is working in main and i've been using it to modify some colors that i remap.

In the dev-remaster branch the call fails

E5113: Error while calling lua chunk: ...er/start/Catppuccino.nvim/lua/katppuccino/api/colors.lua:4: module 'katppuccino.core.cs' not found:
        no field package.preload['katppuccino.core.cs']
        no file './katppuccino/core/cs.lua'

The get_colors() function is provided by https://github.com/Pocco81/Catppuccino.nvim/blob/f90dcc9e4f860ce50d002b4cf2e0861a376f574f/lua/katppuccino/api/colors.lua#L3-L5

which depends on katpuccinno.core.cs, which was deleted in 0b177ad

@pocco81
Copy link
Member

pocco81 commented Nov 2, 2021

Please don't refer to the doc on that branch, I haven't had time to actually update it... My bad :)

ef399bf should've fixed this tho. You should now be able to fetch them using:

local katppuccino = require("katppuccino.api.colors").get_colors()

Edit: btw, I'd really appreciate it if you gave your opinion about the current name (Katppuccino, #46). Feel free to leave your opinion about the names proposed!

@pocco81 pocco81 closed this as completed Nov 2, 2021
@pocco81
Copy link
Member

pocco81 commented Nov 2, 2021

I'll update the doc ASAP 👍

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