pynvim icon indicating copy to clipboard operation
pynvim copied to clipboard

function attribute breaks if name is too long

Open mhartington opened this issue 9 years ago • 2 comments

This is more of a question than an actual "error", but something I've noticed is that the function decorator, the name property can only be a certain length.

For example

@neovim.function('NvimTSEnter')
def onEnter(self,args):

works, but

@neovim.function('NvimTypescriptOnEnter')
def onEnter(self,args):

would not.

It's easy to work around, but does become annoying every now and then. Is this something that is known?

python client version:0.1.13

mhartington avatar Feb 02 '17 02:02 mhartington

That's weird. Seems like a bug.

justinmk avatar Feb 02 '17 13:02 justinmk

I'll be working on this issue #249

mallik18 avatar Mar 08 '20 18:03 mallik18