Gerald Lai wrote:


Yes, I see. You have 'ignorecase' set. I don't. You could either do

  :set noignorecase

or change these lines

  if a:mode[1] == "T" a lot
  ...
  elseif a:mode[1] == "t"

to

  if a:mode[1] ==# "T"
  ...
  elseif a:mode[1] ==# "t"

Well, this makes me wonder how many scripts I've written/posted with the
assumption that 'ignorecase' is not set :)

Do most of you script writers keep this in mind?

Setting options such as ignorecase is bound to cause some to many plugins problems. Its the responsibility of the user to make the tradeoff between wanting whatever feature an
option provides and the set of operational plugins also desired.

I try to bypass problematic settings, but that certainly doesn't mean that I've caught all of the troublemakers. That's why I wrote "pluginkiller", by the way.
"set ic" is one of troublemakers that pluginkiller tests with, too.

Pluginkiller has been rated (once): 4/1, downloaded by 34, so I think you can safely assume that no more than 35 plugin writers are concerned about this sort of problem :O

Regards,
Chip Campbell


Reply via email to