Revert unnecessary distinction between autopep8 versions.
This commit is contained in:
parent
2b1c834271
commit
f6bbac220b
@ -4,16 +4,12 @@
|
|||||||
|
|
||||||
|
|
||||||
" Python
|
" Python
|
||||||
if !exists('g:formatdef_autopep8_1_0_3')
|
if !exists('g:formatdef_autopep8')
|
||||||
let g:formatdef_autopep8_1_0_3 = '"autopep8 - --range ".a:firstline." ".a:lastline." ".(&textwidth ? "--max-line-length=".&textwidth : "")'
|
let g:formatdef_autopep8 = '"autopep8 - --range ".a:firstline." ".a:lastline." ".(&textwidth ? "--max-line-length=".&textwidth : "")'
|
||||||
endif
|
|
||||||
|
|
||||||
if !exists('g:formatdef_autopep8_1_2_1')
|
|
||||||
let g:formatdef_autopep8_1_2_1 = '"autopep8 - --line-range ".a:firstline." ".a:lastline." ".(&textwidth ? "--max-line-length=".&textwidth : "")'
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if !exists('g:formatters_python')
|
if !exists('g:formatters_python')
|
||||||
let g:formatters_python = ['autopep8_1_0_3', 'autopep8_1_2_1']
|
let g:formatters_python = ['autopep8']
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user