-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathneovim.lua
More file actions
184 lines (172 loc) · 7.98 KB
/
neovim.lua
File metadata and controls
184 lines (172 loc) · 7.98 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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
local M = {
{
"LazyVim/LazyVim",
opts = {
colorscheme = function()
vim.cmd("set termguicolors")
local colors = {
bg = "#09090E",
fg = "#E0E6F0",
purple = "#BD00FF",
primary = "#00E5FF",
secondary = "#00FF9F",
success = "#33FFB2",
danger = "#FF007F",
warning = "#FFE700",
info = "#00FFFF",
muted = "#44445A",
dark = "#151521",
accent = "#FF007F",
subtle = "#44445A",
border = "#44445A",
selection = "#FF007F",
sel_fg = "#09090E",
}
vim.cmd("highlight clear")
local function set_hl(group, opts)
vim.api.nvim_set_hl(0, group, opts)
end
-- All highlight groups below use the new Cyber Aura colors
set_hl("Normal", { fg = colors.fg, bg = colors.bg })
set_hl("Comment", { fg = colors.muted, italic = true })
set_hl("Constant", { fg = colors.purple })
set_hl("String", { fg = colors.secondary })
set_hl("Character", { fg = colors.secondary })
set_hl("Number", { fg = colors.accent })
set_hl("Boolean", { fg = colors.primary, bold = true })
set_hl("Float", { fg = colors.accent })
set_hl("Identifier", { fg = colors.fg })
set_hl("Function", { fg = colors.primary, bold = true })
set_hl("Statement", { fg = colors.purple, bold = true })
set_hl("Conditional", { fg = colors.purple })
set_hl("Repeat", { fg = colors.purple })
set_hl("Label", { fg = colors.secondary })
set_hl("Operator", { fg = colors.info })
set_hl("Keyword", { fg = colors.primary, bold = true })
set_hl("Exception", { fg = colors.danger })
set_hl("PreProc", { fg = colors.secondary })
set_hl("Include", { fg = colors.primary })
set_hl("Define", { fg = colors.primary })
set_hl("Macro", { fg = colors.warning })
set_hl("PreCondit", { fg = colors.secondary })
set_hl("Type", { fg = colors.warning, italic = true })
set_hl("StorageClass", { fg = colors.danger })
set_hl("Structure", { fg = colors.secondary })
set_hl("Typedef", { fg = colors.secondary })
set_hl("Special", { fg = colors.accent })
set_hl("SpecialChar", { fg = colors.accent })
set_hl("Tag", { fg = colors.info })
set_hl("Delimiter", { fg = colors.fg })
set_hl("SpecialComment", { fg = colors.muted })
set_hl("Debug", { fg = colors.danger })
set_hl("Title", { fg = colors.primary, bold = true })
set_hl("Directory", { fg = colors.info })
set_hl("MatchParen", { fg = colors.accent, bg = colors.subtle, bold = true })
set_hl("Conceal", { fg = colors.muted })
set_hl("NonText", { fg = colors.muted })
set_hl("SpecialKey", { fg = colors.muted })
set_hl("Whitespace", { fg = colors.muted })
set_hl("CursorLine", { bg = colors.dark })
set_hl("CursorColumn", { bg = colors.dark })
set_hl("CursorLineNr", { fg = colors.primary, bold = true })
set_hl("LineNr", { fg = colors.muted })
set_hl("SignColumn", { fg = colors.muted, bg = colors.bg })
set_hl("Visual", { bg = colors.selection, fg = colors.sel_fg })
set_hl("VisualNOS", { bg = colors.subtle })
set_hl("Search", { fg = colors.bg, bg = colors.primary })
set_hl("IncSearch", { fg = colors.bg, bg = colors.accent })
set_hl("Substitute", { fg = colors.bg, bg = colors.warning })
set_hl("Pmenu", { fg = colors.fg, bg = colors.dark })
set_hl("PmenuSel", { fg = colors.dark, bg = colors.primary })
set_hl("PmenuSbar", { bg = colors.subtle })
set_hl("PmenuThumb", { bg = colors.secondary })
set_hl("StatusLine", { fg = colors.fg, bg = colors.dark })
set_hl("StatusLineNC", { fg = colors.muted, bg = colors.dark })
set_hl("WinSeparator", { fg = colors.border })
set_hl("VertSplit", { fg = colors.border })
set_hl("Folded", { fg = colors.muted, bg = colors.subtle, italic = true })
set_hl("FoldColumn", { fg = colors.muted, bg = colors.bg })
set_hl("TabLine", { fg = colors.muted, bg = colors.dark })
set_hl("TabLineFill", { bg = colors.dark })
set_hl("TabLineSel", { fg = colors.primary, bg = colors.bg, bold = true })
set_hl("ErrorMsg", { fg = colors.bg, bg = colors.danger, bold = true })
set_hl("WarningMsg", { fg = colors.bg, bg = colors.warning })
set_hl("MoreMsg", { fg = colors.success })
set_hl("ModeMsg", { fg = colors.primary, bold = true })
set_hl("Question", { fg = colors.info })
set_hl("DiffAdd", { bg = "#223e36" })
set_hl("DiffChange", { bg = "#3c2f47" })
set_hl("DiffDelete", { bg = "#472f36" })
set_hl("DiffText", { bg = "#47442f", bold = true })
set_hl("SpellBad", { undercurl = true, sp = colors.danger })
set_hl("SpellCap", { undercurl = true, sp = colors.warning })
set_hl("SpellLocal", { undercurl = true, sp = colors.info })
set_hl("SpellRare", { undercurl = true, sp = colors.accent })
set_hl("DiagnosticError", { fg = colors.danger })
set_hl("DiagnosticWarn", { fg = colors.warning })
set_hl("DiagnosticInfo", { fg = colors.info })
set_hl("DiagnosticHint", { fg = colors.muted })
set_hl("DiagnosticUnderlineError", { undercurl = true, sp = colors.danger })
set_hl("DiagnosticUnderlineWarn", { undercurl = true, sp = colors.warning })
set_hl("DiagnosticUnderlineInfo", { undercurl = true, sp = colors.info })
set_hl("DiagnosticUnderlineHint", { undercurl = true, sp = colors.muted })
set_hl("@text", { link = "Normal" })
set_hl("@comment", { link = "Comment" })
set_hl("@constant", { link = "Constant" })
set_hl("@constant.builtin", { fg = colors.danger, bold = true })
set_hl("@string", { link = "String" })
set_hl("@character", { link = "Character" })
set_hl("@number", { link = "Number" })
set_hl("@boolean", { link = "Boolean" })
set_hl("@float", { link = "Float" })
set_hl("@function", { link = "Function" })
set_hl("@function.builtin", { fg = colors.accent, bold = true })
set_hl("@method", { link = "Function" })
set_hl("@keyword", { link = "Keyword" })
set_hl("@keyword.function", { link = "Keyword" })
set_hl("@keyword.operator", { link = "Operator" })
set_hl("@preproc", { link = "PreProc" })
set_hl("@type", { link = "Type" })
set_hl("@type.builtin", { fg = colors.warning, bold = true })
set_hl("@storageclass", { link = "StorageClass" })
set_hl("@variable", { fg = colors.fg })
set_hl("@variable.builtin", { fg = colors.danger, bold = true, italic = true })
set_hl("@property", { link = "info" })
set_hl("@field", { link = "info" })
set_hl("@parameter", { fg = colors.warning, italic = true })
set_hl("@punctuation.bracket", { link = "Delimiter" })
set_hl("@punctuation.delimiter", { link = "Delimiter" })
set_hl("@tag", { link = "Tag" })
set_hl("@tag.attribute", { fg = colors.secondary })
set_hl("@tag.delimiter", { fg = colors.muted })
set_hl("@constructor", { fg = colors.purple })
set_hl("@namespace", { fg = colors.info })
set_hl("@include", { link = "Include" })
set_hl("@conditional", { link = "Conditional" })
set_hl("@repeat", { link = "Repeat" })
set_hl("@label", { link = "Label" })
set_hl("@exception", { link = "Exception" })
set_hl("@text.title", { link = "Title" })
set_hl("@text.literal", { link = "String" })
set_hl("@text.uri", { fg = colors.success, underline = true })
set_hl("@text.emphasis", { italic = true })
set_hl("@text.strong", { bold = true })
set_hl("@text.todo", { fg = colors.bg, bg = colors.warning, bold = true })
set_hl("@lsp.type.variable", {})
set_hl("@lsp.type.property", { link = "@property" })
set_hl("@lsp.type.function", { link = "@function" })
set_hl("@lsp.type.method", { link = "@method" })
set_hl("@lsp.type.keyword", { link = "@keyword" })
set_hl("@lsp.type.namespace", { link = "@namespace" })
set_hl("@lsp.type.parameter", { link = "@parameter" })
set_hl("@lsp.type.type", { link = "Type" })
set_hl("@lsp.type.class", { link = "Type" })
set_hl("@lsp.type.struct", { link = "Type" })
set_hl("@lsp.type.enum", { link = "Type" })
set_hl("@lsp.type.interface", { link = "Type" })
vim.g.colors_name = "cyber-aura"
end,
},
},
}
return M