linux下IDE配置,winmanager配置問題
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')
這個錯誤,一個多月前遇到了,後來沒管,所以linux下的IDE沒有用。
又因為不想老是非共享的linux下程式碼在windows下拷來拷去,又開始解決這個問題。後來發現為什麼沒有人問這個問題了,因為這是我打錯了單詞。。。
let g:winManagerWindowLayout='FileExplorer|TagList'
我寫成了
let g:winManagerWindowLayout='FileExplore|TagList'
FileExplorer少了個r。
中午午覺後突然意識到檢查下這個,果然後面的命令無效,就會出現這樣的錯誤!!!
恩,又一次體會到了勞逸結合的好處。哈哈!