On Tue, Jun 15, 2010 at 4:01 PM, Andy Wokula <[email protected]> wrote:
> Am 15.06.2010 13:53, schrieb Valery Kondakoff:
>>> I'm receiving an error E357 'Matching character missing for a' if I
>>> execute ':set langmap=a\,' form command line.
>> Seems to work well like this: :set langmap=a\\,'. Is this a bug?
>
> No.
> :h option-backslash

I understand, that if I want to enter a backslash in settings it
should be escaped by another backslash. But currently I'm using
backslash to escape the comma. Why should I enter two backslashes?

:help 'langmap'

"Special characters need to be preceded with a backslash.  These are
        ";", ',' and backslash itself.".

At least, escaping of ";" works well without double backslashes (like
this: '\;').

BTW: gVim 7.2.441 complains about not escaping the double quotes (")
as well. Should this be added to the langmap docs?

-- 
Best regards,
Valery Kondakoff

-- 
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

Raspunde prin e-mail lui