-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathhighlights.lua
38 lines (35 loc) · 1.15 KB
/
highlights.lua
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
return function(config)
local c = config.colors
local grey = c.grey
return {
-- Use :TSHighlightCapturesUnderCursor to query highlight group name
htmlArg = { fg = c.cyan },
htmlBold = { fg = c.orange, bold = true },
htmlItalic = { fg = c.purple, italic = true },
htmlLink = { fg = c.green, underline = true },
htmlH1 = { fg = c.blue, bold = true },
htmlH2 = { link = 'htmlH1' },
htmlH3 = { link = 'htmlH1' },
htmlH4 = { link = 'htmlH1' },
htmlH5 = { link = 'htmlH1' },
htmlH6 = { link = 'htmlH1' },
htmlSpecialChar = { link = 'SpecialChar' },
htmlSpecialTagName = { fg = c.red },
htmlTag = { fg = c.blue },
htmlEndTag = { link = 'htmlTag' },
htmlTagN = { fg = c.blue },
htmlTagName = { fg = c.blue },
htmlTitle = { fg = c.fg },
htmlString = { fg = c.orange },
mkdURL = { fg = c.green },
mkdLink = { fg = c.linkFG, underline = true },
mkdLinkDef = { fg = c.linkFG },
mkdListItem = { fg = grey },
mkdCode = { fg = '#6D78BC' },
mkdCodeDelimiter = { link = 'mkdCode' },
mkdCodeStart = { link = 'Comment' },
mkdCodeEnd = { link = 'Comment' },
luaFunc = { link = 'Function' },
luaParen = { link = '@field' },
}
end