[Vim-latex-devel] VEnclose and ignorecase
Brought to you by:
srinathava,
tmaas
From: Philipp H. <phi...@un...> - 2011-02-13 21:49:36
|
Hello, 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. Regards, Philipp |