Color changes:

- Markdown
- Nix
- Toml
- ASS
- Javascript, WIP
This commit is contained in:
Barna Máté 2024-12-19 20:10:50 +01:00
parent 03e6ced5b9
commit 06cc32d7e3

View file

@ -25,7 +25,7 @@ local theme = lush(function(injected_functions)
ColorColumn({ fg = colors.none, bg = colors.gold }),
Normal({ fg = colors.fg, bg = colors.space_cadet }),
Comment({ fg = colors.amethyst, bg = colors.none, italic = true }),
Constant({ fg = colors.gold, bg = colors.none }),
Constant({ fg = colors.crayola, bg = colors.none }),
Number({ fg = colors.crayola, bg = colors.none }),
Include({ fg = colors.gold, bg = colors.none }),
Keyword({ fg = colors.orange_peel, bg = colors.none }),
@ -36,13 +36,14 @@ local theme = lush(function(injected_functions)
PreProc({ fg = colors.cyan, bg = colors.none }),
Float({ link = "Number" }),
Function({ fg = colors.gold, bg = colors.none }),
Identifier({ fg = colors.cyan, bg = colors.none }),
Identifier({ fg = colors.orange_peel, bg = colors.none }),
Type({ fg = colors.gold, bg = colors.none }),
String({ fg = colors.lightgreen, bg = colors.none }),
sym("@variable")({ fg = colors.cyan }),
-- Plugins
DiagnosticUnnecessary({ fg = colors.none }),
-- TODO telescope fix preview
-- Language specific stuff..
-- Rust
@ -57,7 +58,7 @@ local theme = lush(function(injected_functions)
rustStorage({ fg = colors.orange_peel }),
-- Protobuf
protoStructure({ fg = colors.orange_peel }),
protoStructure({ fg = colors.orange_peecrayolal }),
protoRepeat({ fg = colors.orange_peel }),
protoType({ fg = colors.gold }),
-- TODO message names shall be orage_peel
@ -76,12 +77,39 @@ local theme = lush(function(injected_functions)
sym("@lsp.type.interface.typescriptreact")({ fg = colors.cyan }),
sym("@lsp.type.parameter.typescriptreact")({ fg = colors.cyan }),
sym("@lsp.type.namespace.typescriptreact")({ fg = colors.cyan }),
sym("@lsp.type.property.typescriptreact")({ fg = colors.cyan }),
typescriptTemplateSB({ fg = colors.maize }),
tsxTagName({ fg = colors.cyan }),
-- TODO color variables inside HTML tags to cyan. Like onInputChange = {variable}
-- Html
-- TODO finish
htmlTagName({ fg = colors.cyan }),
-- Markdown
markdownH1({ fg = colors.gold }),
markdownH2({ fg = colors.gold }),
markdownH3({ fg = colors.gold }),
markdownH4({ fg = colors.gold }),
markdownH5({ fg = colors.gold }),
markdownH6({ fg = colors.gold }),
markdownItalic({ fg = colors.violet }),
markdownCodeDelimiter({ fg = colors.orange_peel }),
-- Toml
tomlKey({ fg = colors.gold }),
tomlTable({ fg = colors.orange_peel }),
-- Nix
nixAttribute({ fg = colors.gold }),
nixAttributeSet({ fg = colors.gold }),
-- SSA/ASS
ssaHeader({ fg = colors.gold }),
-- Javascript
-- TODO finish
sym("@lsp.type.property.javascript")({ fg = colors.gold }),
}
end)