Hi

2013/6/12 Bram Moolenaar <[email protected]>

>
> Christian Liesch wrote:
>
> > The one at the office which also work with httest do use the syntax file
> > as well as I do of course. It is much easier to write httest scripts
> > with syntax highlighting. Furthermore it is included in the tar.gz
> > package as well.
> >
> > I attached it for you. How is it handled if I do improvments? Just email
> > the new syntax file to you?
>
> Thanks.  Yes, if you make improvements please email me the new version.
>
>
Ok I will proceed this way.



> Using the HiLink command is a bit outdated.  Unless you are stuck with a
> very old version of Vim you can just use "hi def link".
>
>
I dont need to support very old Vim Versions I think. So I will
inverstigate how to solve it without HiLink


> This doesn't look right:
>
>         runtime! syntax/lua.vim
>         unlet b:current_syntax
>         syntax include @Lua syntax/lua.vim
>

This was an experiment to detect embedded lua scripts in httest scripts
(BLOCK:Lua did introduce lua scripts). Perhaps there is a better way to do
so? It works, at least for me. I attached you a sample httest script.


>
> Including lua.vim twice?
>
> How does one recognize a httest file?
>

All files with suffix htt and htb are httest files. The only way currently
to detect a httest file.


>
> --
> hundred-and-one symptoms of being an internet addict:
> 161. You get up before the sun rises to check your e-mail, and you
>      find yourself in the very same chair long after the sun has set.
>
>  /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net
> \\\
> ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/\\\
> \\\  an exciting new programming language -- http://www.Zimbu.org
>  ///
>  \\\            help me help AIDS victims -- http://ICCF-Holland.org
>  ///
>

-- 
-- 
You received this message from the "vim_dev" 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_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Attachment: block_lua.htt
Description: Binary data

Raspunde prin e-mail lui