Skip to content

Conversation

@ayamir
Copy link
Owner

@ayamir ayamir commented Nov 17, 2024

This commit want to avoid the case when get_palette() call happens before vim.g.colors_name be initialized, which will raise error.
image

This commit want to avoid the case when `get_palette()` call happens
before `vim.g.colors_name` be initialized, which will raise error.
@ayamir ayamir requested a review from Jint-lzxy November 17, 2024 15:35
@ayamir ayamir merged commit a631be2 into main Nov 22, 2024
4 checks passed
@ayamir ayamir deleted the fix/color-palette branch November 22, 2024 04:47
Deg2v pushed a commit to Deg2v/nvimdots that referenced this pull request Jan 16, 2025
This commit want to avoid the case when `get_palette()` call happens
before `vim.g.colors_name` be initialized, which will raise error.
Jint-lzxy added a commit that referenced this pull request Jan 18, 2025
This commit is a follow-up fix for #1369, simplifying the change to a single
line.

Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com>
ayamir pushed a commit that referenced this pull request Jan 19, 2025
This commit is a follow-up fix for #1369, simplifying the change to a single
line.

Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com>
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 this pull request may close these issues.

2 participants