[Click] vim syntax highlight of click script
Jesse Brown
jesse.r.brown at lmco.com
Thu Mar 18 09:58:17 EDT 2010
Hi Eddie,
That would be great!
Thanks,
Jesse
Eddie Kohler wrote:
> Neat! Jesse, would you object to this vim script being added to the distribution?
>
> Thanks,
> E
>
>
> Jesse Brown wrote:
>
>> JaeYong Yoo wrote:
>>
>>> Hi,
>>>
>>> is there any vim plugin that highlights according to the syntax of
>>> click script?
>>>
>>> wishes,
>>>
>>> jaeyong
>>> _______________________________________________
>>> click mailing list
>>> click at amsterdam.lcs.mit.edu
>>> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
>>>
>>>
>>>
>> Hi jaeyong,
>>
>> In general, the C syntax is pretty close. Based on that I added the
>> elements (current as of 1.6.0), support for the '->' and '::' operators
>> and the elementclass keyword.
>>
>> Attached is the syntax file. To use this you would edit your .vimrc to
>> include the following lines:
>>
>> au BufNewFile,BufRead *.click set filetype=click
>> au! Syntax click source ~/.vim/syntax/click.vim
>>
>> And place the attached file in ~/.vim/syntax/click.vim
>>
>> I understand that this is pretty crude, but it works well for me.
>>
>> Jesse
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> click mailing list
>> click at amsterdam.lcs.mit.edu
>> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
>>
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
>
>
More information about the click
mailing list