preservim / tagbar

Vim plugin that displays tags in a window, ordered by scope
https://preservim.github.io/tagbar
Other
6.13k stars 487 forks source link

Incorrect recognition of Python function and class definition #71

Closed fannix closed 12 years ago

fannix commented 12 years ago

defaultdict(lambda: 0) and classofhello = 0 are recognized as function aultdict and class ofhello respectively.

majutsushi commented 12 years ago

I can't reproduce that. What version of ctags are you using? Do you have a concrete example file that shows the problem?

fannix commented 12 years ago

The environment:

$ ctags --help Exuberant Ctags 5.7, Copyright (C) 1996-2007 Darren Hiebert Compiled: Dec 24 2011, 16:15:10

MacVim 7.3

And the screenshot is attached.

On Tue, Apr 3, 2012 at 11:34 AM, Jan Larres < reply@reply.github.com

wrote:

I can't reproduce that. What version of ctags are you using? Do you have a concrete example file that shows the problem?


Reply to this email directly or view it on GitHub: https://github.com/majutsushi/tagbar/issues/71#issuecomment-4893789

Best Wishes

Meng Xinfan(蒙新泛) Institute of Computational Linguistics Department of Computer Science & Technology School of Electronic Engineering & Computer Science Peking University Beijing, 100871 China

majutsushi commented 12 years ago

According to the ctags changelog this should be fixed in version 5.8. Could you try that version and see if it works for you? Thanks!

fannix commented 12 years ago

Thanks! It works!

On Tue, Apr 3, 2012 at 9:30 PM, Jan Larres < reply@reply.github.com

wrote:

According to the ctags changelog this should be fixed in version 5.8. Could you try that version and see if it works for you? Thanks!


Reply to this email directly or view it on GitHub: https://github.com/majutsushi/tagbar/issues/71#issuecomment-4901162

Best Wishes

Meng Xinfan(蒙新泛) Institute of Computational Linguistics Department of Computer Science & Technology School of Electronic Engineering & Computer Science Peking University Beijing, 100871 China

majutsushi commented 12 years ago

OK, I'm closing this then.