Repository navigation
Expand file tree
/
Copy pathnc.lua
More file actions
69 lines (62 loc) · 1.39 KB
/
Copy pathnc.lua
File metadata and controls
69 lines (62 loc) · 1.39 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
return {
-- Accent colors
Ac1 = 'Magenta', -- underline/window decorations
LightAc1 = 'LightMagenta', -- Search
FgAc1 = 'FgMagenta',
BgAc1 = 'BgMagenta',
Ac2 = 'Green', -- FloatTitle
LightAc2 = 'LightGreen',
FgAc2 = 'FgGreen',
BgAc2 = 'BgGreen',
-- UI
WinBar = 'Bg0', -- 2 for overlay enabled
WinBarNC = 'Bg2', -- 3
NormalFloat = 'WinBar',
StatusLine = 'Bg1b',
Pmenu = 'Bg1b',
PmenuSbar = 'Bg2',
PmenuSel = 'Bg2b',
PmenuThumb = 'Bg3',
CursorLine = 'Bg2',
Visual = 'Bg2b',
Title = 'Fg1',
-- Code
Comment = 'Fg4',
SpecialComment = 'Fg3',
Added = 'Green',
Changed = 'Cyan',
Removed = 'Red',
-- Variable types
Constant = 'Violet',
BuiltinVar = 'Cyan', -- includes modules, namespaces etc.
Field = 'Fg1',
Parameter = 'Fg1',
Variable = 'Fg1',
Identifier = 'Fg1',
-- Control stmt
Keyword = 'Blue',
Statement = 'LightBlue',
Repeat = 'LightBlue',
Conditional = 'LightBlue',
PreProc = 'FgCyan',
FlowControl = 'LightRed', -- custom for return+break+continue statements
Define = 'Magenta',
Type = 'FgBlue',
Label = 'LightViolet',
Tag = 'LightViolet',
Operator = 'FgRed',
Delimiter = 'Fg1',
-- Data types
Function = 'Fg1',
BuiltinFn = 'LightBlue',
Number = 'Yellow',
Boolean = 'Yellow',
String = 'Yellow',
Character = 'LightYellow',
Special = 'Magenta',
SpecialKey = 'Orange',
SpecialChar = 'LightOrange',
Exception = 'FgMagenta',
Directory = 'Green',
File = 'FgYellow',
}