@@ -18,22 +18,26 @@ fun! pymode#troubleshooting#test() "{{{
18
18
19
19
call append (' 0' , [' Pymode diagnostic' ,
20
20
\ ' ===================' ,
21
- \ ' VIM:' .v: version .' , OS:' . os .' , multi_byte:' .has (' multi_byte' ) .' , pymode:' .g: pymode_version .' , python:' .g: pymode_python ,
21
+ \ ' VIM:' .v: version .' , OS:' . os .' , multi_byte:' .has (' multi_byte' ) .' , pymode:' .g: pymode_version .' ,pymode- python:' .g: pymode_python ,
22
22
\ ' ' ])
23
23
24
24
if ! exists (' #filetypeplugin' )
25
25
call append (' $' , [' WARNING:' ,' Python-mode required :filetype plugin indent on' ,' ' ])
26
26
endif
27
27
28
+ call append (' $' , [' +python:' .has (' python' )])
29
+ call append (' $' , [' +python3:' .has (' python3' ),' ' ])
30
+
28
31
if g: pymode_python== ' disable'
32
+
29
33
if ! has (' python' )&& ! has (' python3' )
30
34
31
- call append (' $' , [' WARNING:' , ' Python-mode required vim compiled with +python or +python3.' ,
35
+ call append (' $' , [' WARNING: Python-mode required vim compiled with +python or +python3.' ,
32
36
\ ' "lint, rope, run, doc, virtualenv" features disabled.' ,' ' ])
33
37
34
38
else
35
39
36
- call append (' $' , [' WARNING:' , ' Python is disabled by `pymode_python` option.' ,
40
+ call append (' $' , [' WARNING: Python is disabled by `pymode_python` option.' ,
37
41
\ ' "lint, rope, run, doc, virtualenv" features disabled.' ,' ' ])
38
42
39
43
endif