tangled
alpha
login
or
join now
althaea.zone
/
candy
0
fork
atom
neovim
0
fork
atom
overview
issues
pulls
pipelines
remove old stuff from statusline
marshmallow.tngl.sh
9 months ago
ba5d3f9e
0e1561b8
-61
1 changed file
expand all
collapse all
unified
split
candy
lua
marshmallow
statusline.lua
-61
candy/lua/marshmallow/statusline.lua
···
1
1
local M = {}
2
2
3
3
-
local function set_highlights_kanagawa(recording)
4
4
-
local palette = require("kanagawa.colors").setup().theme
5
5
-
6
6
-
local bg = recording and palette.diff.delete or palette.ui.bg_m2
7
7
-
local fg = recording and palette.vcs.removed or palette.ui.fg_dim
8
8
-
9
9
-
vim.api.nvim_set_hl(0, "StatusLine", { fg = fg, bg = bg })
10
10
-
11
11
-
vim.api.nvim_set_hl(0, "Ruler", {
12
12
-
fg = palette.syn.keyword,
13
13
-
bg = bg,
14
14
-
})
15
15
-
16
16
-
vim.api.nvim_set_hl(0, "StatusLsp", {
17
17
-
fg = palette.syn.constant,
18
18
-
bg = bg,
19
19
-
})
20
20
-
21
21
-
vim.api.nvim_set_hl(0, "StatusFt", {
22
22
-
fg = palette.syn.type,
23
23
-
bg = bg,
24
24
-
})
25
25
-
26
26
-
vim.api.nvim_set_hl(0, "StatusHead", {
27
27
-
fg = palette.syn.identifier,
28
28
-
bg = bg,
29
29
-
})
30
30
-
end
31
31
-
32
32
-
-- color = {
33
33
-
-- black = "#000000",
34
34
-
-- blue = "#7788AA",
35
35
-
-- gray1 = "#080808",
36
36
-
-- gray2 = "#191919",
37
37
-
-- gray3 = "#2a2a2a",
38
38
-
-- gray4 = "#444444",
39
39
-
-- gray5 = "#555555",
40
40
-
-- gray6 = "#7a7a7a",
41
41
-
-- gray7 = "#aaaaaa",
42
42
-
-- gray8 = "#cccccc",
43
43
-
-- gray9 = "#DDDDDD",
44
44
-
-- green = "#789978",
45
45
-
-- lack = "#708090",
46
46
-
-- luster = "#deeeed",
47
47
-
-- none = "none",
48
48
-
-- orange = "#ffaa88",
49
49
-
-- red = "#D70000",
50
50
-
-- yellow = "#abab77"
51
51
-
-- },
52
52
-
-- color_special = {
53
53
-
-- comment = "#3A3A3A",
54
54
-
-- exception = "#505050",
55
55
-
-- keyword = "#666666",
56
56
-
-- main_background = "#101010",
57
57
-
-- menu_background = "#191919",
58
58
-
-- param = "#8E8E8E",
59
59
-
-- popup_background = "#1A1A1A",
60
60
-
-- statusline = "#242424",
61
61
-
-- whitespace = "#202020"
62
62
-
-- },
63
63
-
64
3
local function set_highlights_lackluster(recording)
65
4
local lackluster = require("lackluster")
66
5