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

Commit feff34f

Browse files
style(formatters: autopep8): add comment about version output; add missing space
1 parent 95b5adf commit feff34f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎autoload/codefmt.vim‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,8 +183,9 @@ if !exists('s:autopep8')
183183
if !exists('s:autopep8_supports_range')
184184
let l:version_call =
185185
\ maktaba#syscall#Create([l:executable, '--version']).Call()
186+
" in some cases version is written to stderr, in some to stdout
186187
let l:version_output =
187-
\version_call.stderr ? version_call.stderr : version_call.stdout
188+
\version_call.stderr ? version_call.stderr : version_call.stdout
188189
let s:autopep8_supports_range =
189190
\ matchlist(l:version_output, '\m\Cautopep8 \(\d\+\)\.')[1] >= 1
190191
endif

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /