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
smime.p7s
Description: S/MIME cryptographic signature
------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________ Vim-latex-devel mailing list Vim-latex-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vim-latex-devel