Saturday, September 12, 2020

Re: syntax highlight and indent for expect scripts


On Sat, 12 Sep 2020 at 03:55, Peng Yu <pengyu.ut@gmail.com> wrote:
Hi,

I'd like to syntax highlight and indent expect scripts. But it is not
clear whether it is supported by vim. Does anybody know whether there
is such support in vim?

There is currently only syntax support for Expect.  The filetype is set when the filename extension is *.exp or from the appropriate shebang line in the expect command file.

There is, however, full support for TCL so I've attached ftplugin and indent plugins for Expect which just source the corresponding TCL files.  I'll send these to Bram for inclusion in the distributed runtime after I have a think about whether there's a better way to do it.

Regards,
Doug

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/CAJ1uvoD0%3Dzfy-T%2B35WARH1jpHssz3kb8n7%3Dw6MaArOBLHhT0eg%40mail.gmail.com.

No comments: