Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6cea61d

Browse files
committed
Improve troubleshooting function
1 parent0c54d08 commit6cea61d

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

‎autoload/pymode/troubleshooting.vim

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,22 +18,26 @@ fun! pymode#troubleshooting#test() "{{{
1818

1919
callappend('0', ['Pymode diagnostic',
2020
\'===================',
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,
2222
\''])
2323

2424
if!exists('#filetypeplugin')
2525
callappend('$', ['WARNING:','Python-mode required :filetype plugin indent on',''])
2626
endif
2727

28+
callappend('$', ['+python:' .has('python')])
29+
callappend('$', ['+python3:' .has('python3'),''])
30+
2831
ifg:pymode_python=='disable'
32+
2933
if!has('python')&&!has('python3')
3034

31-
callappend('$', ['WARNING:','Python-mode required vim compiled with +python or +python3.',
35+
callappend('$', ['WARNING: Python-mode required vim compiled with +python or +python3.',
3236
\'"lint, rope, run, doc, virtualenv" features disabled.',''])
3337

3438
else
3539

36-
callappend('$', ['WARNING:','Python is disabled by `pymode_python` option.',
40+
callappend('$', ['WARNING: Python is disabled by `pymode_python` option.',
3741
\'"lint, rope, run, doc, virtualenv" features disabled.',''])
3842

3943
endif

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp