Shougo / unite-outline

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

Fix an unknown issue with Ctags module and Module_bind function #87

Closed alfred-sa closed 4 years ago

alfred-sa commented 4 years ago

Hello,

Since several days, I have an issue with unite-outline. The symptom is that it stop working for C/C++ file types, while still working for Python.

Today, I took time to debug this issue and found that, for the ctags module only, the function Module_bind did not work anymore (It does something like a silent error at call s:Ctags.function('exists'), the remaining part of the ctags.vim script is not executed). When I replaced this function call by directly affecting the ctags. variables, the issue was fixed.

I am not a vim scripter, but if someone else has this issue, well, here is a solution that worked for me. I think that the whole SID thing could be removed, improving readability and maintainability of the code.