Package: vim-runtime
Version: 1:7.1.293
Severity: important
Tags: l10n

There is no result with pressing  keys  _j  with  using  the
justify plug-in  for  aligning  for  example  Russian  text.

My investigation shows that if page width (tw) set to  value
50 (N) and press _j for Russian  text  with  string  lengths
less than 25 (N/2) then some  spaces  appears  between  some
words i.e. plug-in tries to align text.

It's evidently that plug-in compute words and strings length
wrong.   The  most  probability  is  that  plug-in   compute
words/strings  length   in   bytes   but   not   in   chars.
(1 Russian char takes 2 bytes in UTF-8) And because of  this
plug-in "thinks" that strings with length more than  25  (N)
chars are more long then setting tw=50 (2*N) and  skip  such
strings.


Attachment: signature.asc
Description: Digital signature

Reply via email to