Re: [Vim-latex-devel] VEnclose and ignorecase
Brought to you by:
srinathava,
tmaas
From: Till M. <ope...@ti...> - 2011-02-14 20:38:35
|
On Sun, Feb 13, 2011 at 10:49:22PM +0100, Philipp Hartwig wrote: > the function VEnclose of the imaps plugin uses the test > if (visualmode() == 'v' && (a:vstart != '' || a:vend != '')) || (a:VStart == '' && a:VEnd == '') > to determine if characterwise or linewise selection was used. However if > a user has set "ignorecase" the operator "==" is case-insensitive and > hence > visualmode() == 'v' > will always be true. > > Using "==#" instead of "==" fixes this. Thank you, this has been fixed in a recent git commit. Regards Till |