diff options
author | HampusM <hampus@hampusmat.com> | 2024-06-01 00:07:18 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2024-06-01 00:07:18 +0200 |
commit | ba02708d2760ae87af4a2084cb2f38a09e8bf71b (patch) | |
tree | 0f454dfaef2fe13cdef3a74c1d9f845788859972 | |
parent | 0b9539bf3ff368288bdaace89d488a93fc2fc421 (diff) |
use other Ayu theme fork
-rw-r--r-- | lua/config.lua | 1 | ||||
-rw-r--r-- | lua/plugins.lua | 4 | ||||
-rw-r--r-- | 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" |