Re: matchpairs and Unicode

2013-01-03 Thread Christian Brabandt
Hi On So, 30 Dez 2012, Christian Brabandt wrote: here is a patch to make the matchpairs setting multibyte aware. Updated patch, now also works for non multi-byte builts. regards, Christian -- Aus einer Menge von unordentlichen Strichen bildet man sich leicht eine Gegend, aber aus

Re: matchpairs and Unicode

2013-01-02 Thread Bram Moolenaar
Christian Brabandt wrote: On Do, 27 Dez 2012, KamilS wrote: Thanks. If I have some spare time, I'll look into enhancing the 'matchpairs' option. This is fantastic, thanks a lot! Bram, here is a patch to make the matchpairs setting multibyte aware. Great, thanks! --

Re: matchpairs and Unicode

2013-01-01 Thread KamilS
here is a patch to make the matchpairs setting multibyte aware. Thank so much, Christian! -- 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

Re: matchpairs and Unicode

2012-12-29 Thread Christian Brabandt
Hi On Do, 27 Dez 2012, KamilS wrote: Thanks. If I have some spare time, I'll look into enhancing the 'matchpairs' option. This is fantastic, thanks a lot! Bram, here is a patch to make the matchpairs setting multibyte aware. regards, Christian -- Bei ARD und ZDF reihern Sie in den 1.

Re: matchpairs and Unicode

2012-12-27 Thread KamilS
Thanks. If I have some spare time, I'll look into enhancing the 'matchpairs' option. This is fantastic, thanks a lot! -- 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

Re: matchpairs and Unicode

2012-12-25 Thread Christian Brabandt
Hi KamilS! On So, 09 Dez 2012, KamilS wrote: Thank you for the answers. As for being able to write the appropriate patch, well, I'm afraid I'm not. I wish I could, but no. As for matchit, thanks for the tip, but I don't seem to be able to find the option to highlight the matched pairs

Re: matchpairs and Unicode

2012-12-25 Thread KamilS
By the way, what kind of multibyte characters do you need? The pair I need most is ‘’ (U+2018 and U+2019). Other quotes, such as “” would make a nice addition but I won't be turning my nose up should this prove impossible. -- You received this message from the vim_use maillist. Do not

Re: matchpairs and Unicode

2012-12-25 Thread Tony Mechelynck
On 25/12/12 23:11, Christian Brabandt wrote: By the way, what kind of multibyte characters do you need? regards, Christian Hm, let's see… Anything above 0x7F is 2 or more bytes in UTF-8… For Latin, Cyrillic, etc.: « (U+00AB LEFT-POINTING DOUBLE ANGLE QUOTATION MARK) and » (U+00BB

Re: matchpairs and Unicode

2012-12-25 Thread KamilS
‘ (U+2018 LEFT SINGLE QUOTATION MARK) and either ’ (U+2019 RIGHT SINGLE Depending on the language, two characters on each of the above lines may be chosen, and in either order. I'm afraid my Vim says: E474: Invalid argument: matchpairs+=‘:’ `:' and other ASCII combinations work fine. It

Re: matchpairs and Unicode

2012-12-25 Thread Tony Mechelynck
On 26/12/12 00:50, KamilS wrote: ‘ (U+2018 LEFT SINGLE QUOTATION MARK) and either ’ (U+2019 RIGHT SINGLE Depending on the language, two characters on each of the above lines may be chosen, and in either order. I'm afraid my Vim says: E474: Invalid argument: matchpairs+=‘:’ `:' and other

Re: matchpairs and Unicode

2012-12-09 Thread Christian Brabandt
Hi Tony! On So, 09 Dez 2012, Tony Mechelynck wrote: On 08/12/12 16:48, KamilS wrote: The help for 'matchpairs' says “Currently only single byte character pairs are allowed”. Is there any way to work around this? Or any hope that support for Unicode will be added in the foreseeable future?

Re: matchpairs and Unicode

2012-12-09 Thread KamilS
Thank you for the answers. As for being able to write the appropriate patch, well, I'm afraid I'm not. I wish I could, but no. As for matchit, thanks for the tip, but I don't seem to be able to find the option to highlight the matched pairs in it, just to jump between them, and this isn't

matchpairs and Unicode

2012-12-08 Thread KamilS
The help for 'matchpairs' says “Currently only single byte character pairs are allowed”. Is there any way to work around this? Or any hope that support for Unicode will be added in the foreseeable future? I’d very much like to have matching for different kinds of quotes, especially ‘’. I tried

Re: matchpairs and Unicode

2012-12-08 Thread Tony Mechelynck
On 08/12/12 16:48, KamilS wrote: The help for 'matchpairs' says “Currently only single byte character pairs are allowed”. Is there any way to work around this? Or any hope that support for Unicode will be added in the foreseeable future? I’d very much like to have matching for different kinds