Does Vim or SciTE have syntax support for T4 template Ttt files?

Does Vim or SciTE have syntax highlighting support for T4 template Ttt files?

+2


a source to share


3 answers


I'm sure you've already searched for vim scripts for any custom T4 syntax files and your search didn't return any results either. So there is no special syntax file.

Looking at my Vim 7.3 installation, I also cannot find the T4 syntax file.

So, the answer to your question (at least for vim) is no, there is no .



However, you have nothing to do to create a syntax file. You can either take an existing syntax file, read and understand it, and then create a new one based on that for T4, or take a look at this tutorial which explains how to create a syntax file from scratch.

A quick glimpse of SciTE functions (section SciTE Understandable Languages) looks as if there was no T4 support for SciTE as well.

+3


a source


Yes, indeed there is!

http://www.vim.org/scripts/script.php?script_id=2135



Place this file in ~ / .vim / syntax / and put 'set syntax = tt' in your ~ / .vimrc file and you're all set! Works great for me!

+1


a source


There is a vim package for T4 syntax highlighting:

https://github.com/sillyotter/t4-vim

0


a source







All Articles