Friday, July 26, 2019

Re: awkembed.vim

On Fr, 26 Jul 2019, 'J S' via vim_use wrote:

> I get that people read quickly, and also that English is not everyone's first language (a lethal combination, that), but the fact is that in the OP, every word was very carefully chosen, to impart all needed information. Unfortunate, that I need to re-state that which was clearly stated originally.
>
> That all said, the specific problem to which I seek a specific solution is this:
>
> 1) I write Expect scripts with embedded AWK script.
> 2) I would like the embedded AWK code to be highlighted as AWK code.
>
> Further comments:
>
> 1) In theory, it should be possible to do this sort of thing with any combination of languages. That is, any enclosing language and any embedded language. Again, to clarify, in my specific case, the enclosing language is Expect and the embedded language is AWK.
>
> 2) As far as I can tell, the only specific combination that has been implemented (at least in publicly available VIM script code) is the combination of embedding AWK inside of shell.
>
> As stated, I want to highlight embedded AWK inside of Expect.

Well, the general appraoch is explained at :h sh-embed However it was
never clear from your message, that you already know about it and that
you have tried it.

So did you apply the method mentioned there to try to solve your
problem? If so, what exact problem are you facing?

Best,
Christian
--
Manche Frauen tun für ihr Äußeres Dinge, für die ein Gebrauchtwagenhändler
ins Gefängnis käme.

--
--
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/20190726145249.GC32566%40256bit.org.

No comments: