all repos — dot @ 13cc065ec014b86369dfe4ad60d1a43fa06fd251

Shell, editor and terminal configuration, and the tools that go with them

config/nvim/colors/default.lua (view raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
 10
 11
-- This file should only be used by the theme script with variables injected
-- If variables are not set, use fallback values
---@diagnostic disable-next-line: undefined-global
local mode = theme_mode or "dark"
---@diagnostic disable-next-line: undefined-global
local colors = theme_colors or "ayu"

vim.g.ayucolor = mode
vim.opt.background = mode
vim.cmd("colorscheme " .. colors)