Skip to content

Latest commit

 

History

History
68 lines (51 loc) · 1.16 KB

File metadata and controls

68 lines (51 loc) · 1.16 KB

vim-textmate

A textmate-based syntax highlighter to vim, compatible with VScode themes and grammars

"Buy Me A Coffee"

Install

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")

via Plugged

Add to your .vimrc:

Plug 'icedman/vim-textmate'

And also:

luafile ~/.vim/plugged/vim-textmate/vim-textmate.lua

Themes 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