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 }), ColorColumn({ fg = colors.none, bg = colors.gold }),
Normal({ fg = colors.fg, bg = colors.space_cadet }), Normal({ fg = colors.fg, bg = colors.space_cadet }),
Comment({ fg = colors.amethyst, bg = colors.none, italic = true }), 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 }), Number({ fg = colors.crayola, bg = colors.none }),
Include({ fg = colors.gold, bg = colors.none }), Include({ fg = colors.gold, bg = colors.none }),
Keyword({ fg = colors.orange_peel, 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 }), PreProc({ fg = colors.cyan, bg = colors.none }),
Float({ link = "Number" }), Float({ link = "Number" }),
Function({ fg = colors.gold, bg = colors.none }), 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 }), Type({ fg = colors.gold, bg = colors.none }),
String({ fg = colors.lightgreen, bg = colors.none }), String({ fg = colors.lightgreen, bg = colors.none }),
sym("@variable")({ fg = colors.cyan }), sym("@variable")({ fg = colors.cyan }),
-- Plugins -- Plugins
DiagnosticUnnecessary({ fg = colors.none }), DiagnosticUnnecessary({ fg = colors.none }),
-- TODO telescope fix preview
-- Language specific stuff.. -- Language specific stuff..
-- Rust -- Rust
@ -57,7 +58,7 @@ local theme = lush(function(injected_functions)
rustStorage({ fg = colors.orange_peel }), rustStorage({ fg = colors.orange_peel }),
-- Protobuf -- Protobuf
protoStructure({ fg = colors.orange_peel }), protoStructure({ fg = colors.orange_peecrayolal }),
protoRepeat({ fg = colors.orange_peel }), protoRepeat({ fg = colors.orange_peel }),
protoType({ fg = colors.gold }), protoType({ fg = colors.gold }),
-- TODO message names shall be orage_peel -- 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.interface.typescriptreact")({ fg = colors.cyan }),
sym("@lsp.type.parameter.typescriptreact")({ fg = colors.cyan }), sym("@lsp.type.parameter.typescriptreact")({ fg = colors.cyan }),
sym("@lsp.type.namespace.typescriptreact")({ fg = colors.cyan }), sym("@lsp.type.namespace.typescriptreact")({ fg = colors.cyan }),
sym("@lsp.type.property.typescriptreact")({ fg = colors.cyan }),
typescriptTemplateSB({ fg = colors.maize }), typescriptTemplateSB({ fg = colors.maize }),
tsxTagName({ fg = colors.cyan }), tsxTagName({ fg = colors.cyan }),
-- TODO color variables inside HTML tags to cyan. Like onInputChange = {variable} -- TODO color variables inside HTML tags to cyan. Like onInputChange = {variable}
-- Html -- Html
-- TODO finish
htmlTagName({ fg = colors.cyan }), 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) end)