mirror of
https://github.com/gabehf/base46.git
synced 2026-03-09 23:48:16 -07:00
re-write whole plugin
added features to have local nvchad themes, override specific colors aka variables in nvchad themes
This commit is contained in:
parent
dbd746da1b
commit
1db5a6eda8
76 changed files with 1592 additions and 1284 deletions
114
lua/integrations/syntax.lua
Normal file
114
lua/integrations/syntax.lua
Normal file
|
|
@ -0,0 +1,114 @@
|
|||
local theme = require("base16").get_colors "base_16"
|
||||
|
||||
-- Standard syntax highlighting
|
||||
|
||||
return {
|
||||
Boolean = {
|
||||
fg = theme.base09,
|
||||
},
|
||||
|
||||
Character = {
|
||||
fg = theme.base08,
|
||||
},
|
||||
|
||||
Conditional = {
|
||||
fg = theme.base0E,
|
||||
},
|
||||
|
||||
Constant = {
|
||||
fg = theme.base08,
|
||||
},
|
||||
|
||||
Define = {
|
||||
fg = theme.base0E,
|
||||
sp = "none",
|
||||
},
|
||||
|
||||
Delimiter = {
|
||||
fg = theme.base0F,
|
||||
},
|
||||
|
||||
Float = {
|
||||
fg = theme.base09,
|
||||
},
|
||||
|
||||
Function = {
|
||||
fg = theme.base0D,
|
||||
},
|
||||
|
||||
Identifier = {
|
||||
fg = theme.base08,
|
||||
sp = "none",
|
||||
},
|
||||
|
||||
Include = {
|
||||
fg = theme.base0D,
|
||||
},
|
||||
|
||||
Keyword = {
|
||||
fg = theme.base0E,
|
||||
},
|
||||
|
||||
Label = {
|
||||
fg = theme.base0A,
|
||||
},
|
||||
|
||||
Number = {
|
||||
fg = theme.base09,
|
||||
},
|
||||
|
||||
Operator = {
|
||||
fg = theme.base05,
|
||||
sp = "none",
|
||||
},
|
||||
|
||||
PreProc = {
|
||||
fg = theme.base0A,
|
||||
},
|
||||
|
||||
Repeat = {
|
||||
fg = theme.base0A,
|
||||
},
|
||||
|
||||
Special = {
|
||||
fg = theme.base0C,
|
||||
},
|
||||
|
||||
SpecialChar = {
|
||||
fg = theme.base0F,
|
||||
},
|
||||
|
||||
Statement = {
|
||||
fg = theme.base08,
|
||||
},
|
||||
|
||||
StorageClass = {
|
||||
fg = theme.base0A,
|
||||
},
|
||||
|
||||
String = {
|
||||
fg = theme.base0B,
|
||||
},
|
||||
|
||||
Structure = {
|
||||
fg = theme.base0E,
|
||||
},
|
||||
|
||||
Tag = {
|
||||
fg = theme.base0A,
|
||||
},
|
||||
|
||||
Todo = {
|
||||
fg = theme.base0A,
|
||||
bg = theme.base01,
|
||||
},
|
||||
|
||||
Type = {
|
||||
fg = theme.base0A,
|
||||
sp = "none",
|
||||
},
|
||||
|
||||
Typedef = {
|
||||
fg = theme.base0A,
|
||||
},
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue