开发工具 Vim 使用 winmanager 合并 NERDTree 和 Taglist 出错

xautjzd · 2013年07月27日 · 最后由 yeerkunth 回复于 2013年07月29日 · 7370 次阅读

Vim 使用 winmanager 合并 NERDTree 和 Taglist 出现下列错误:

Error detected while processing function 24_StartWindowsManager..24_Ed itNextVisibleExplorer..24_FindExplorerInGroup: line 2: E121: Undefined variable: s:explorerGroupNums_1 E15: Invalid expression: s:explorerGroupNums_1 line 4: E121: Undefined variable: numList E116: Invalid arguments for function s:Strntok2(numList, ',', a:memn) E15: Invalid expression: s:Strntok2(numList, ',', a:memn) line 5: E121: Undefined variable: num E15: Invalid expression: num == '' line 8: E121: Undefined variable: num E15: Invalid expression: 'return '.num Error detected while processing function 24_StartWindowsManager..24_Ed itNextVisibleExplorer: line 35: E121: Undefined variable: s:explorerName_0 E15: Invalid expression: s:explorerName_0 line 39: E121: Undefined variable: name E116: Invalid arguments for function exists('*'.name.'_IsPossible')

这报错貌似是 winmanager 相关的 vim 文件里好多定义都不识别。大家看下是什么问题呢?或者有没有什么好的类似插件可以推荐下?

winmanager 这么老了,bug 很多,果断不用.. taglist 其实也挺鸡肋的,如果看缩略概览 folder 其实就行了 因此,你把三个砍剩下 NERDTree 吧,哈哈

#1 楼 @yeerkunth 如果一个文件非常大,还是挺有必要用 taglist 吧

tagbar 代替 taglist 吧

#3 楼 @ensonmj tagbar 相比 taglist 有啥优点么?我觉得 taglist 挺好用啊

tagbar +1 好处是 bug 少,支持语种多 https://github.com/majutsushi/tagbar/wiki

需要 登录 后方可回复, 如果你还没有账号请 注册新账号