Merge pull request #12864 from anandude/fix-catppuccin-colorscheme
Point catppuccin theme at its flavour colorscheme
This commit is contained in:
2 files changed
+16
-1
No files matched your search
+15
@@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
source "$(dirname "${BASH_SOURCE[0]}")/base-test.sh"
|
||||
|
||||
# The catppuccin-nvim colorscheme name only exists in newer plugin checkouts
|
||||
# (added upstream in March 2026); catppuccin-mocha loads on old and new ones
|
||||
# alike, so the stock theme uses the flavour name (#12721).
|
||||
if matches=$(grep -rn 'catppuccin-nvim' "$ROOT/themes/"); then
|
||||
fail "stock themes avoid the newer-only catppuccin colorscheme name" "$matches"
|
||||
fi
|
||||
pass "stock themes avoid the newer-only catppuccin colorscheme name"
|
||||
|
||||
grep -Fq 'colorscheme = "catppuccin-mocha"' "$ROOT/themes/catppuccin/neovim.lua" ||
|
||||
fail "catppuccin theme uses its flavour colorscheme"
|
||||
pass "catppuccin theme uses its flavour colorscheme"
|
||||
@@ -7,7 +7,7 @@ return {
|
||||
{
|
||||
"LazyVim/LazyVim",
|
||||
opts = {
|
||||
colorscheme = "catppuccin-nvim",
|
||||
colorscheme = "catppuccin-mocha",
|
||||
},
|
||||
},
|
||||
}
|
||||
Reference in new issue
Block a user