This repository has been archived on 2023-03-02. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/.config/nvim/lua/colorscheme.lua
David JULIEN b03369ba79
feat: introducing astronomy.nvim
new colorscheme!

added as a submodule, which will be pulled right where it needs to sit

updated the config to follow the changes

add colorscheme.lua to configurate
!!!BROKEN: this file uses script that are not yet committed
2021-10-23 04:10:12 +02:00

14 lines
353 B
Lua

-- Author : swytch
-- Created : Friday Oct. 22, 2021 22:07:41 CET
-- License : GPLv3
-- Description : colorscheme config file
local utils = require("utils")
local file = os.getenv("XDG_STATE_HOME") .. "/nvim_colorscheme"
local colorscheme = utils.lines_from(file)[0]
require("astronomy").setup {
variant = colorscheme,
}