Skip to content

Conversation

@Jint-lzxy
Copy link
Collaborator

@Jint-lzxy Jint-lzxy commented Jan 18, 2025

This commit is a follow-up fix for #1369 (and potentially #1371), simplifying the change to a single line:

--- /dev/fd/14	2025-01-18 15:44:55
+++ /dev/fd/15	2025-01-18 15:44:55
@@ -1 +1 @@
-palette = vim.g.colors_name:find("catppuccin") and require("catppuccin.palettes").get_palette()
+palette = (vim.g.colors_name or ""):find("catppuccin") and require("catppuccin.palettes").get_palette()

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 ayamir merged commit 5c3d6e2 into main Jan 19, 2025
4 checks passed
@ayamir ayamir deleted the fix/colors_name-nil-check branch January 19, 2025 15:29
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.

3 participants