-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcolors.lua
More file actions
101 lines (99 loc) · 3.69 KB
/
Copy pathcolors.lua
File metadata and controls
101 lines (99 loc) · 3.69 KB
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
return {
-- The best color scheme I found so far for a good balance of contrast
-- and use of colors. I dont like color schemes that use too much red on
-- a dark background, it is possibly the worst sin of readabilty.
-- {
-- "norcalli/nvim-colorizer.lua",
-- opts = function()
-- require("colorizer").setup()
-- require("custom.util").keys({
-- { "<leader>c", "<cmd>ColorizerToggle<cr>", desc = "Toggle colorizer" },
-- })
-- end,
-- },
-- {
-- dir = "~/me/repos/allay.nvim",
-- lazy = false,
-- priority = 1000,
-- opts = function()
-- require("custom.util").keys({
-- { "<leader>t", "<cmd>Inspect<cr>" },
-- })
-- end,
-- },
{
"catppuccin/nvim",
name = "catppuccin",
priority = 1000,
opts = function()
require("catppuccin").setup({
compile_path = vim.fn.stdpath("cache") .. "/catppuccin",
custom_highlights = function(colors)
local util = require("catppuccin.utils.colors")
return {
Operator = { fg = colors.subtext1 },
["@tag.delimiter"] = { fg = colors.subtext1 },
DapStoppedLine = { bg = util.darken(colors.red, 0.25) },
}
end,
})
end,
},
{
"folke/tokyonight.nvim",
lazy = false,
priority = 1000,
opts = function()
return {
style = "moon",
on_highlights = function(hl, c)
-- defaults
hl.LineNr = { fg = c.comment }
hl.LineNrAbove = { fg = c.comment }
hl.LineNrBelow = { fg = c.comment }
hl.CursorLineNr = { fg = c.comment }
-- dap
hl.DapBreakpoint = { fg = c.red }
hl.DapBreakpointLine = { bg = "#4D2F3A" }
hl.DapLogPoint = { fg = c.red }
hl.DapStopped = { fg = c.fg }
hl.DapStoppedLine = { bg = "#3B405D" }
-- dap-ui
hl.DapUIScope = { fg = c.teal }
hl.DapUIType = { fg = c.magenta }
hl.DapUIModifiedValue = { fg = c.teal, bold = true }
hl.DapUIDecoration = { fg = c.teal }
hl.DapUIThread = { fg = c.yellow }
hl.DapUIStoppedThread = { fg = c.teal }
hl.DapUISource = { fg = c.magenta }
hl.DapUILineNumber = { fg = c.purple }
hl.DapUIFloatBorder = { fg = c.teal }
hl.DapUIWatchesEmpty = { fg = c.purple }
hl.DapUIWatchesValue = { fg = c.yellow }
hl.DapUIWatchesError = { fg = c.red }
hl.DapUIBreakpointsPath = { fg = c.teal }
hl.DapUIBreakpointsInfo = { fg = c.yellow }
hl.DapUIBreakpointsCurrentLine = { fg = c.yellow, bold = true }
hl.DapUIBreakpointsDisabledLine = { fg = c.fg_dark }
hl.DapUIStepOver = { bg = c.bg_dark, fg = c.teal }
hl.DapUIStepOverNC = { link = "DapUIStepOver" }
hl.DapUIStepInto = { bg = c.bg_dark, fg = c.teal }
hl.DapUIStepIntoNC = { link = "DapUIStepInto" }
hl.DapUIStepBack = { bg = c.bg_dark, fg = c.teal }
hl.DapUIStepBackNC = { link = "DapUIStepBack" }
hl.DapUIStepOut = { bg = c.bg_dark, fg = c.teal }
hl.DapUIStepOutNC = { link = "DapUIStepOut" }
hl.DapUIStop = { bg = c.bg_dark, fg = c.red }
hl.DapUIStopNC = { link = "DapUIStop" }
hl.DapUIPlayPause = { bg = c.bg_dark, fg = c.green }
hl.DapUIPlayPauseNC = { link = "DapUIPlayPause" }
hl.DapUIRestart = { bg = c.bg_dark, fg = c.green }
hl.DapUIRestartNC = { link = "DapUIRestart" }
hl.DapUIUnavailable = { bg = c.bg_dark, fg = c.fg_dark }
hl.DapUIUnavailableNC = { link = "DapUIUnavailable" }
hl.DapUIWinSelect = { fg = c.teal, bold = true }
end,
}
end,
},
}