nerdcommenter icon indicating copy to clipboard operation
nerdcommenter copied to clipboard

Undefined variable: s:delimiterMap

Open roqvist opened this issue 10 years ago • 3 comments

Starting gvim 7.4 with NERD commenter on Ubuntu yields the following:

E121: Undefined variable: s:delimiterMap
E116: Invalid arguments for function has_key(s:delimiterMap, ft)
E15: Invalid expression: has_key(s:delimiterMap, ft)

roqvist avatar May 01 '15 10:05 roqvist

Is this still a problem? I can't duplicate this currently on a newer vim version.

alerque avatar May 24 '16 07:05 alerque

I just duplicated this today. I was calling gvim with a vimrc override file (in Microsoft Windows: -u c:\users\me\.vimrc) that explicitly set the override file to the standard .vimrc file. No .gvimrc file is present.

kalebpederson avatar Nov 07 '19 21:11 kalebpederson

@kalebpederson I don't quite follow what your arrangement was and still can't replicate this. Can you post a minimal example including the actual command you ran and the minimum contents of an rc file that exhibits this?

That or find and fix the problem yourself ;-) I would be happy to review a PR that addressed this, I just can't really fix it myself because I can't even replicate the problem.

alerque avatar Nov 08 '19 08:11 alerque