From a28251287ba12669143303a4cfed5300d363d6bb Mon Sep 17 00:00:00 2001 From: Rootiest Date: Sat, 6 Jul 2024 13:24:42 -0400 Subject: [PATCH] feat: :sparkles: Add Ayu theme Include (lazy) Ayu theme with kitty theme integration --- README.md | 2 +- init.lua | 9 +++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index c6317eb..b1fce5d 100644 --- a/README.md +++ b/README.md @@ -66,7 +66,7 @@ The rootiest neovim configuration you will ever see! - Comfortable keybindings and IDE-like features - Designed to be quick to load and easy to use without compromising on features - Leans heavily on lazy and luarocks for plugin management and lazy-loading -- Catppuccino theme is default but tokyonight is also included +- Catppuccino theme is default but tokyonight and ayu are also included - Automatic light/dark mode switching based on system theme - Extensive special configurations for kitty, including theme matching - Image support for kitty when conditions are met diff --git a/init.lua b/init.lua index 1c193de..3fb8b95 100644 --- a/init.lua +++ b/init.lua @@ -208,6 +208,7 @@ require("lazy").setup({ }) end, }, + { "Shatur/neovim-ayu", lazy = true }, { "folke/persistence.nvim", event = "BufReadPre", @@ -303,7 +304,7 @@ require("lazy").setup({ }, { "shellRaining/hlchunk.nvim", - lazy = true, + lazy = false, config = function() require("hlchunk").setup({ chunk = { @@ -647,7 +648,11 @@ elseif vim.g.colors_name == "catppuccin-macchiato" then THEMEPALETTE = require("catppuccin.palettes").get_palette("macchiato") elseif vim.g.colors_name == "tokyonight-night" or "tokyonight" then THEMEPALETTE = require("catppuccin.palettes").get_palette("mocha") -elseif vim.g.colors_name == "tokyonight-day" then +elseif vim.g.colors_name == "ayu" then + THEMEPALETTE = require("catppuccin.palettes").get_palette("mocha") +elseif vim.g.colors_name == "ayu-mirage" then + THEMEPALETTE = require("catppuccin.palettes").get_palette("frappe") +elseif vim.g.colors_name == "tokyonight-day" or "ayu-light" then THEMEPALETTE = require("catppuccin.palettes").get_palette("latte") else THEMEPALETTE = {