Shougo / unite-outline

outline source for unite.vim
http://d.hatena.ne.jp/h1mesuke/20101107/p1
152 stars 41 forks source link

Strange behavior with class methods #56

Closed Murlocks closed 9 years ago

Murlocks commented 9 years ago

In this example, I will use python but I have noticed the same behavior in java files as well.

For example, in a python file if we have a method foo() inside a class called A and we start typing foo, unite-outline will display: A : class foo ( ) ! foo ( ) Pressing enter puts you into normal mode inside the unite buffer and does nothing.

Also, when we have two methods that start the same way inside a class, like getFoo() and getBar(), once we type something that is different from the common substring the cursor will return to the start of the line and clear it on the next letter typed. In the example if we type "get" everything will be fine, once we type "getf" the specified behavior will happen. It will also happen if we type "f" or "b".

Murlocks commented 9 years ago

Just confirmed that this is a plugin issue on my end, not unite-outline's. Closing the issue.