Djanho is a prototype which tries to convert VSCode themes to (Neo)Vim colorschemes.
- Handling of VSCode RGBA colors
- Out of the box conversion
- Outputs to both Lua and Vimscript
- Tree-sitter support
- Support other plugins than tree-sitter
The colorschemes below were converted directly from VSCode's .json theme files.
Dracula | Solarized Dark | Gruvbox Dark |
---|---|---|
cargo build --release
./target/release/djanho vscode-theme.json
To see all the available options, use
djanho --help
- Some VSCode themes have trailing commas in its jsons, and the current parser
does not support them. If you receive an runtime error due to these trailing
commas, please remove them using something such as
hson -j file.json > file.json
Feel free to open an issue or a pull request in order to fix bugs, improve existing highlights or support new plugins/vim features.