1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
local M = {}
function M.setup(options)
local settings = require "no-clown-fiesta.settings"
if options then
settings.set(options)
end
end
function M.load()
local settings = require "no-clown-fiesta.settings"
local options = settings.options
vim.api.nvim_command "hi clear"
if vim.fn.exists "syntax_on" then
vim.api.nvim_command "syntax reset"
end
vim.o.background = "dark"
vim.o.termguicolors = true
vim.g.colors_name = "no-clown-fiesta"
local util = require "no-clown-fiesta.util"
local palette = require "no-clown-fiesta.palette"
local highlights = require("no-clown-fiesta.groups.highlights").highlight(
palette,
options
)
local alpha = require("no-clown-fiesta.groups.alpha").highlight(palette)
local git = require("no-clown-fiesta.groups.git").highlight(palette)
local hop = require("no-clown-fiesta.groups.hop").highlight(palette)
local lir = require("no-clown-fiesta.groups.lir").highlight(palette)
local lsp = require("no-clown-fiesta.groups.lsp").highlight(palette)
local markdown = require("no-clown-fiesta.groups.markdown").highlight(palette)
local neogit = require("no-clown-fiesta.groups.neogit").highlight(palette)
local nvimtree = require("no-clown-fiesta.groups.nvim-tree").highlight(palette)
local nvimcmp = require("no-clown-fiesta.groups.nvim-cmp").highlight(palette)
local statusline = require("no-clown-fiesta.groups.statusline").highlight(palette)
local telescope = require("no-clown-fiesta.groups.telescope").highlight(palette)
local treesitter = require("no-clown-fiesta.groups.treesitter").highlight(
palette,
options
)
local whichkey = require("no-clown-fiesta.groups.whichkey").highlight(palette)
local skeletons = {
alpha,
git,
hop,
highlights,
lir,
lsp,
markdown,
neogit,
nvimtree,
nvimcmp,
statusline,
telescope,
treesitter,
whichkey,
}
for _, skeleton in ipairs(skeletons) do
util.initialise(skeleton)
end
end
return M
|