vim-textmate
A textmate-based syntax highlighter to vim, compatible with VScode themes and grammars
Install
git clone http://github.com/icedman/vim-textmate
cd vim-textmate
make.vimrc
luafile ~/.vim/lua/vim-textmate/vim-textmate.luaTo preset a theme
lua txmt_set_theme("Dracula")via Plugged
Add to your .vimrc:
Plug 'icedman/vim-textmate'And also:
luafile ~/.vim/plugged/vim-textmate/vim-textmate.luaThemes and Grammars
Theme and grammar packages will be searched in the following locations:
~/.vim/lua/vim-textmate/extensions/ ~/.vscode/extensions/ ~/.editor/extensions/
Commands
- TxmtInfo
- TxmtInfoLanguages
- TxmtInfoThemes
- TxmtSetTheme
- TxmtEnable
- TxmtDisable
- TxmtDebugScopes
Warning
- 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
