11" DESC: Get debug information about pymode problem
22fun ! pymode#troubleshooting#Test () " {{{
3+ runtime ftplugin/python/ init- pymode.vim
4+
35 new
46 setlocal buftype = nofile bufhidden = delete noswapfile nowrap
57
@@ -33,7 +35,9 @@ fun! pymode#troubleshooting#Test() "{{{
3335 call append (' $' , ' let pymode = ' . string (g: pymode ))
3436 if g: pymode
3537 call append (' $' , ' let pymode_path = ' . string (g: pymode_path ))
36- call append (' $' , ' let pymode_paths = ' . string (g: pymode_paths ))
38+ if g: pymode_path
39+ call append (' $' , ' let pymode_paths = ' . string (g: pymode_paths ))
40+ end
3741
3842 call append (' $' , ' let pymode_doc = ' . string (g: pymode_doc ))
3943 if g: pymode_doc
@@ -63,6 +67,12 @@ fun! pymode#troubleshooting#Test() "{{{
6367 endif
6468
6569 call append (' $' , ' let pymode_rope = ' . string (g: pymode_rope ))
70+ if g: pymode_rope
71+ call append (' $' , ' let pymode_rope_autocomplete_map = ' . string (g: pymode_rope_autocomplete_map ))
72+ call append (' $' , ' let pymode_rope_auto_project = ' . string (g: pymode_rope_auto_project ))
73+ call append (' $' , ' let pymode_rope_auto_project_open = ' . string (g: pymode_rope_auto_project_open ))
74+ call append (' $' , ' let pymode_rope_auto_session_manage = ' . string (g: pymode_rope_auto_session_manage ))
75+ end
6676 call append (' $' , ' let pymode_folding = ' . string (g: pymode_folding ))
6777 call append (' $' , ' let pymode_breakpoint = ' . string (g: pymode_breakpoint ))
6878 call append (' $' , ' let pymode_syntax = ' . string (g: pymode_syntax ))
@@ -75,6 +85,7 @@ fun! pymode#troubleshooting#Test() "{{{
7585 endif
7686
7787 if python
88+ call append (' $' , ' ' )
7889 call append (' $' , ' VIM python paths:' )
7990 call append (' $' , ' -----------------' )
8091python << EOF
0 commit comments