> Why don’t fix the problem by explicitely using “[=!][~=][#?]” everywhere? I > just always use “#” and “?” for string comparison, no matter whether it is > “=~”, “is” or their opposites (yes, and I never use “==”/“!=” for string > comparison). All the problems should be fixed by running >
Because, indent/vim.vim(and I think other plugins too) uses match(). This functions also uses 'ignorecase' option. I can't fix it easily. So I used try finally block and changed ignorecase option. > > > perl -p -i -e 's/(?<=[!=]~)(?![?#])/#/g unless /^\s*setlocal/' > indent/*.vim > > additionally reviewing changes when processing plugins for languages which > contain this operator. The result seem to be harmless: > http://bpaste.net/show/38213/. So I think your changes is incomplete. Thanks your reply. -- You received this message from the "vim_dev" 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
