flexoki-neovim/lua/flexoki/init.lua

29 lines
490 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(opts)
end
---Set up the Flexoki colorscheme
---@param opts FlexokiOptions
M.setup = function (opts)
config.extend(opts)
end
return M