flexoki-neovim/lua/flexoki/init.lua
2023-10-31 20:18:11 +01:00

29 lines
486 B
Lua

local config = require('flexoki.config')
local M = {}
---Load the Flexoki colorscheme
---@param opts FlexokiOptions
M.colorscheme = function(opts)
config.extend(opts)
vim.o.termguicolors = true
if vim.g.colors_name then
vim.cmd('hi clear')
vim.cmd('syntax reset')
end
vim.g.colors_name = 'flexoki'
require('flexoki.theme').set_highlights()
end
---Set up the Flexoki colorscheme
---@param opts FlexokiOptions
M.setup = function (opts)
config.extend(opts)
end
return M