A textmate-based syntax highlighter to vim, compatible with VScode themes and grammars
git clone http://github.com/icedman/vim-textmate
cd vim-textmate
make
.vimrc
luafile ~/.vim/lua/vim-textmate/vim-textmate.lua
To preset a theme
lua txmt_set_theme("Dracula")
Add to your .vimrc:
Plug 'icedman/vim-textmate'
And also:
luafile ~/.vim/plugged/vim-textmate/vim-textmate.lua
Theme and grammar packages will be searched in the following locations:
~/.vim/lua/vim-textmate/extensions/
~/.vscode/extensions/
~/.editor/extensions/
- TxmtInfo
- TxmtInfoLanguages
- TxmtInfoThemes
- TxmtSetTheme
- TxmtEnable
- TxmtDisable
- TxmtDebugScopes
- This plugin is just a proof of concept - from a novice lua coder, and much worse - from a novice vim user
- This also requires Lua and some C compilation