From ba02708d2760ae87af4a2084cb2f38a09e8bf71b Mon Sep 17 00:00:00 2001 From: HampusM Date: Sat, 1 Jun 2024 00:07:18 +0200 Subject: use other Ayu theme fork --- lua/config.lua | 1 - lua/plugins.lua | 4 ++-- lua/style.lua | 12 ++++++++++-- 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/lua/config.lua b/lua/config.lua index 6df872a..72cdfd7 100644 --- a/lua/config.lua +++ b/lua/config.lua @@ -47,7 +47,6 @@ vim.o.timeoutlen = 300 vim.o.ttimeoutlen = 10 -- Style -vim.o.background = "dark" vim.o.termguicolors = true vim.g.mapleader = "," diff --git a/lua/plugins.lua b/lua/plugins.lua index cda4798..fba0847 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -25,8 +25,8 @@ return require("packer").startup(function(use) -- Style use { - "https://git.hampusmat.com/ayu-vim", - commit = "256ec8f56ca0beb7c2d3b727f6c7f4806ab30c15" + "Shatur/neovim-ayu", + commit = "d7a2b754c9f9be3c30e14a53d6cfda3e111edd24" } use { diff --git a/lua/style.lua b/lua/style.lua index 3a31d91..ec06d8e 100644 --- a/lua/style.lua +++ b/lua/style.lua @@ -1,6 +1,14 @@ -vim.cmd("colorscheme ayu") +local ayu_colors = require('ayu.colors') -vim.g.ayucolor = "dark" +ayu_colors.generate() -- Pass `true` to enable mirage + +require('ayu').setup({ + overrides = { + WinSeparator = { fg = ayu_colors.bg, bg = ayu_colors.bg } + } +}) + +vim.cmd("colorscheme ayu-dark") vim.g["airline#extensions#tabline#enabled"] = 1 vim.g["airline#extensions#tabline#formatter"] = "unique_tail_improved" -- cgit v1.2.3-18-g5258