Yaml,sh some tsx changes
This commit is contained in:
parent
f47a55c844
commit
bf962ffd82
24
README.md
24
README.md
|
@ -4,6 +4,7 @@ A port of [the original vscode theme](https://github.com/ahmadawais/shades-of-pu
|
|||
This theme is still balls deep into development but it's possible to use it.
|
||||
|
||||
# Install
|
||||
|
||||
You will need to install [lus.nvim](https://github.com/rktjmp/lush.nvim) too since this theme was made with it.
|
||||
|
||||
a. Using lazy.nvim
|
||||
|
@ -48,6 +49,29 @@ colorscheme = "shades_of_purple";
|
|||
nix run nixpkgs#nurl -- https://git.4o1x5.dev/4o1x5/shades-of-purple-nvim -f fetchFromGitea
|
||||
```
|
||||
|
||||
## Language support
|
||||
|
||||
This table represents how much will the theme look alike to it's original one. Languages that are not listed will most likely not get support.
|
||||
|
||||
| Language | Support status |
|
||||
| ---------- | -------------- |
|
||||
| Rust | Mostly done |
|
||||
| Typescript | Mostly done |
|
||||
| Javascript | TODO |
|
||||
| C# | LSP limited |
|
||||
| Elixir | TODO |
|
||||
| SQL | TODO |
|
||||
| Zig | TODO |
|
||||
| Python | TODO |
|
||||
| Vue | TODO |
|
||||
| Haskell | TODO |
|
||||
| Java | TODO |
|
||||
| Lisp | TODO |
|
||||
| Go | TODO |
|
||||
| PHP | TODO |
|
||||
| Ruby | TODO |
|
||||
| Swift | TODO |
|
||||
|
||||
## Made possible with
|
||||
|
||||
- [lush.nvim](https://github.com/rktjmp/lush.nvim/) and it's [starter template](https://github.com/rktjmp/lush-template).
|
||||
|
|
|
@ -33,6 +33,7 @@ local theme = lush(function(injected_functions)
|
|||
Label({ fg = colors.orange_peel, bg = colors.none }),
|
||||
Statement({ fg = colors.orange_peel, bg = colors.none }),
|
||||
Operator({ fg = colors.orange_peel, bg = colors.none }),
|
||||
Delimiter({ fg = colors.orange_peel, bg = colors.none }),
|
||||
Special({ fg = colors.orange_peel, bg = colors.none }),
|
||||
PreProc({ fg = colors.cyan, bg = colors.none }),
|
||||
Float({ link = "Number" }),
|
||||
|
@ -58,12 +59,15 @@ local theme = lush(function(injected_functions)
|
|||
sym("@lsp.type.selfTypeKeyword")({ fg = colors.violet }),
|
||||
sym("@lsp.type.variable.rust")({ fg = colors.white }),
|
||||
sym("@lsp.type.property.rust")({ fg = colors.cyan }),
|
||||
sym("@lsp.typemod.property.declaration.rust")({ fg = colors.white }),
|
||||
sym("@lsp.type.parameter.rust")({ fg = colors.white }),
|
||||
sym("@lsp.type.derive.rust")({ fg = colors.gold }),
|
||||
rustSigil({ fg = colors.orange_peel }),
|
||||
rustSelf({ fg = colors.violet }),
|
||||
rustFoldBraces({ fg = colors.cyan }),
|
||||
rustStorage({ fg = colors.orange_peel }),
|
||||
rustIdentifier({ fg = colors.gold }),
|
||||
rustMacro({ fg = colors.gold }),
|
||||
rustFoldBraces({ fg = colors.gold }),
|
||||
|
||||
-- Protobuf
|
||||
protoStructure({ fg = colors.orange_peecrayolal }),
|
||||
|
@ -75,12 +79,10 @@ local theme = lush(function(injected_functions)
|
|||
typescriptImport({ fg = colors.orange_peel }),
|
||||
typescriptIdentifierName({ fg = colors.cyan }),
|
||||
typescriptIdentifier({ fg = colors.violet }),
|
||||
--typescriptObjectLiteral({ fg = colors.crayola }),
|
||||
typescriptVariableName({ fg = colors.orange_peel }),
|
||||
typescriptVariable({ fg = colors.orange_peel }),
|
||||
typescriptStatementKeyword({ fg = colors.orange_peel }),
|
||||
typescriptPromiseMethod({ fg = colors.gold }),
|
||||
-- typescriptFuncCallArg({ fg = colors.gold, bg = colros.orange_peel}),
|
||||
typescriptBlock({ fg = colors.cyan }),
|
||||
typescriptFuncArg({ fg = colors.gold }),
|
||||
typescriptPredefinedType({ fg = colors.aquamarine }),
|
||||
|
@ -90,6 +92,7 @@ local theme = lush(function(injected_functions)
|
|||
sym("@lsp.type.parameter.typescriptreact")({ fg = colors.cyan }),
|
||||
sym("@lsp.type.namespace.typescriptreact")({ fg = colors.cyan }),
|
||||
sym("@lsp.type.member.typescript")({ fg = colors.gold }),
|
||||
sym("@lsp.type.member.typescriptreact")({ fg = colors.gold }),
|
||||
sym("@lsp.type.property.typescriptreact")({ fg = colors.cyan }),
|
||||
sym("@lsp.type.property.typescript")({ fg = colors.cyan }),
|
||||
typescriptTemplateSB({ fg = colors.maize }),
|
||||
|
@ -101,7 +104,7 @@ local theme = lush(function(injected_functions)
|
|||
typescriptParamImpl({ fg = colors.lightgreen }),
|
||||
typescriptDOMFormProp({ fg = colors.gold }),
|
||||
tsxTagName({ fg = colors.cyan }),
|
||||
|
||||
typescriptCall({ fg = colors.white }),
|
||||
-- TODO color variables inside HTML tags to cyan. Like onInputChange = {variable}
|
||||
|
||||
-- Html
|
||||
|
@ -128,6 +131,7 @@ local theme = lush(function(injected_functions)
|
|||
|
||||
-- SSA/ASS
|
||||
ssaHeader({ fg = colors.gold }),
|
||||
srtTime({ fg = colors.gold }),
|
||||
|
||||
-- Javascript
|
||||
-- TODO finish
|
||||
|
@ -141,7 +145,15 @@ local theme = lush(function(injected_functions)
|
|||
sym("@lsp.typemod.class.static.cs")({ fg = colors.white }),
|
||||
sym("@lsp.type.property.cs")({ fg = colors.orange_peel }),
|
||||
csAccess({ fg = colors.violet }), -- TODO doesn't apply due to @lsp.type.keyword.cs overwriting it.
|
||||
|
||||
--sym("@lsp.type.keyword.cs")({ fg = colors.gold }),
|
||||
-- Yaml, yml
|
||||
yamlBlockMappingKey({ fg = colors.gold }),
|
||||
yamlFlowMappingKey({ fg = colors.white }),
|
||||
|
||||
-- .env
|
||||
shVariable({ fg = colors.white }),
|
||||
shQuote({ fg = colors.gold }),
|
||||
}
|
||||
end)
|
||||
|
||||
|
|
Loading…
Reference in a new issue