<div class="moz-text-flowed" style="font-family: -moz-fixed">
On 21-Jul-2008 10:28, Nikolai Weibull wrote:
> On Mon, Jul 21, 2008 at 02:02, Michael Schaap <[EMAIL PROTECTED]> wrote:
>
>   
>> It looks like syntax/yaml.vim is rather broken in vim 7.2b. For a start,
>> every single lower case 't' is marked as an error.
>> This is obviously caused by a missing '\'. That specific one is easy enough
>> to fix, but at a glance, there seem to be many more places where backslashes
>> went missing.
>>     
>
>   
>> I could try to fix, and submit a patch, but it might be better if Nikolai
>> could provide a fixed version to Bram. Nikolai?
>>     
>
> I've sent a patch.  It's in Bram's hands now.  I was rather late with
> it, though, so Bram chose to postpone it.  I fully understand his
> decision.
It's up to Bram, of course, but shipping vim 7.2 with a broken 
syntax/yaml.vim is not ideal either...
It might be better to revert to the version that was shipped with vim 
7.1, if he's not comfortable including a last-minute patch.

>   You can always find the latest version here:
>
> http://git.bitwi.se/?p=vim-runtime.git;a=blob_plain;f=syntax/yaml.vim
>
> I'm really sorry syntax/yaml.vim has been so bugged.  I was hoping to
> be able to rewrite it to fully parse yaml code, but I haven't had
> time.
>
>   
Thanks for the quick response.

The version on the above URL still seems to have a bug, though:

Error detected while processing /usr/local/share/vim/vim72b/syntax/yaml.vim:
line 75:
E55: Unmatched \)
E475: Invalid argument: yamlEscape contained display 
'\\%(\r\n\|[\r\n]\|\%u0085\|\%u2028\|
\%u2029\)'

– Michael
</div>

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui