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
70
71
|
local M = {}
function M.setup(opts)
local settings = require "no-clown-fiesta.settings"
if opts then
opts = settings.set(opts)
end
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.highlights").highlight(palette, opts)
local alpha = require("no-clown-fiesta.highlight-group.alpha").highlight(palette)
local git = require("no-clown-fiesta.highlight-group.git").highlight(palette)
local hop = require("no-clown-fiesta.highlight-group.hop").highlight(palette)
local lir = require("no-clown-fiesta.highlight-group.lir").highlight(palette)
local lsp = require("no-clown-fiesta.highlight-group.lsp").highlight(palette)
local markdown = require("no-clown-fiesta.highlight-group.markdown").highlight(
palette
)
local neogit = require("no-clown-fiesta.highlight-group.neogit").highlight(palette)
local nvimtree = require("no-clown-fiesta.highlight-group.nvim-tree").highlight(
palette
)
local nvimcmp = require("no-clown-fiesta.highlight-group.nvim-cmp").highlight(palette)
local statusline = require("no-clown-fiesta.highlight-group.statusline").highlight(
palette
)
local telescope = require("no-clown-fiesta.highlight-group.telescope").highlight(
palette
)
local treesitter = require("no-clown-fiesta.highlight-group.treesitter").highlight(
palette,
opts
)
local whichkey = require("no-clown-fiesta.highlight-group.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
|