Diet template syntax highlighting / alternatives?

rjframe dlang at ryanjframe.com
Thu Mar 21 00:33:23 UTC 2019


On Thu, 14 Mar 2019 22:22:33 +0000, Foo Bar wrote:

> If there are no alternatives, are there any sort of syntax highlighting
> plugins for vim that support diet? That would at least make diet a
> little easier to work with.

Any pug syntax highlighter will work for diet; e.g.,
https://github.com/digitaltoad/vim-pug

ftdetect: autocmd BufRead,BufNewFile *.pug,*.jade,*.diet set filetype=pug

--Ryan


More information about the Digitalmars-d mailing list