Update 20190619
This commit is contained in:
parent
39c795bf11
commit
d45420e295
|
@ -1 +1 @@
|
||||||
Subproject commit da5d2b890d567e610d5f0f44a199d95b1f3148c5
|
Subproject commit f647f90dcecb8738cd53ac8dd293d93570039e00
|
|
@ -1 +1 @@
|
||||||
Subproject commit c88ebc5e70852c9571aa7a94b5eb28df000d693a
|
Subproject commit 90b1ea230db9132d7ef455ea3b395733c12206e1
|
|
@ -1 +1 @@
|
||||||
Subproject commit 188c31db7c831741e69b067c53dd040917ac03f7
|
Subproject commit 7ce3894f23adf94f2f3cf206e06e7dce9f4ce401
|
|
@ -1 +1 @@
|
||||||
Subproject commit f89669d2b089d75f1eccbf8d14277b74857a850d
|
Subproject commit 55471c298412ea3017b0189fd96c032a780963e1
|
|
@ -1 +1 @@
|
||||||
Subproject commit cf5001299e166243d14e565f45f8788b85c620ff
|
Subproject commit 94b33d6a5f9e6bae8ac2abc0bddc89b5ddf02b02
|
|
@ -1 +1 @@
|
||||||
Subproject commit ac4e7bfb36c88d27799c080218cea3bb833bdbd9
|
Subproject commit 5c87ab86c0e7b0ec8a5edd39a4ce5500bb9e9333
|
|
@ -1 +1 @@
|
||||||
Subproject commit ed18d979d76709036f6c4f7a2bdbfb29b11e3e0e
|
Subproject commit c5bb9211f3050e405ec9e03cf655624c205b9e94
|
|
@ -1 +1 @@
|
||||||
Subproject commit 3d3362622ef10deedaea8e026054064bf62aeb33
|
Subproject commit ed80ae8cee732d52eb841d509a95aca9c27ece7a
|
|
@ -1 +1 @@
|
||||||
Subproject commit 1524cf7988d1e1ed7475ead3654987f64943a1f0
|
Subproject commit 8fcb1af27772174df5446d49de29052cac47e46f
|
|
@ -1 +1 @@
|
||||||
Subproject commit 9984b9753606fe2c8d7f3d4f9d67c1777a967cd6
|
Subproject commit 53f40ec6c628099e353f25cabd54e5047c28d81d
|
|
@ -1 +1 @@
|
||||||
Subproject commit a52ad903402cddc204e105fde94c4ceaa024b8b5
|
Subproject commit 93fbd01266ea59a668f00b1f5950176705f273f3
|
|
@ -1 +1 @@
|
||||||
Subproject commit 03f63eb666485d1c432e91c32c0edd1d6dd773cb
|
Subproject commit 193e3504408118687a4063d19d6245cc676281c8
|
|
@ -1 +1 @@
|
||||||
Subproject commit 5d99841b22928f1597d447c68de844989bf9a804
|
Subproject commit 0f9db6af704f6fcf5cd06de964deb8223e47db4c
|
|
@ -1 +1 @@
|
||||||
Subproject commit c4b419db6c57125e91d6f292daa664b73b155b7b
|
Subproject commit 39201bf50faee8ff5b8ebc02c17fdf56f1cbeccb
|
|
@ -1 +1 @@
|
||||||
Subproject commit 295ba9549aef51ec649e104c65663d3c5f1f23e6
|
Subproject commit eef98131fef264d0f4e4f95c42e0de476c78009c
|
|
@ -8,11 +8,11 @@ setlocal textwidth=88
|
||||||
" setlocal textwidth=0
|
" setlocal textwidth=0
|
||||||
|
|
||||||
" Multi-line commenting and uncommenting.
|
" Multi-line commenting and uncommenting.
|
||||||
vmap <buffer> <C-m> :s/^\(\s*\)/\1#/<Return>
|
" vmap <buffer> <C-m> :s/^\(\s*\)/\1#/<Return>
|
||||||
vmap <buffer> <C-,> :s/^\(\s*\)#/\1/<Return>
|
" vmap <buffer> <C-,> :s/^\(\s*\)#/\1/<Return>
|
||||||
|
|
||||||
" Use the AutoPythonImport tool.
|
" Use the AutoPythonImport tool.
|
||||||
map <buffer> <C-n> :call AutoPythonImport(expand("<cword>"))<Return>
|
" map <buffer> <C-n> :call AutoPythonImport(expand("<cword>"))<Return>
|
||||||
|
|
||||||
" Change the line length for Python files based on configuration files.
|
" Change the line length for Python files based on configuration files.
|
||||||
function! ChangePythonLineLength() abort
|
function! ChangePythonLineLength() abort
|
||||||
|
@ -34,11 +34,11 @@ endfunction
|
||||||
|
|
||||||
" call ChangePythonLineLength()
|
" call ChangePythonLineLength()
|
||||||
|
|
||||||
let b:ale_linters = ['flake8']
|
let b:ale_linters = ['flake8', 'mypy']
|
||||||
let b:ale_fixers = [
|
let b:ale_fixers = [
|
||||||
\ 'black',
|
|
||||||
\ 'autopep8',
|
\ 'autopep8',
|
||||||
\ 'yapf',
|
\ 'yapf',
|
||||||
|
\ 'black',
|
||||||
\]
|
\]
|
||||||
let b:ale_completion_excluded_words = ['and', 'or', 'if']
|
let b:ale_completion_excluded_words = ['and', 'or', 'if']
|
||||||
|
|
||||||
|
@ -70,8 +70,11 @@ endif
|
||||||
let g:python_debug_line = 'import ' . g:python_debugger . '; ' . g:python_debugger . '.set_trace()'
|
let g:python_debug_line = 'import ' . g:python_debugger . '; ' . g:python_debugger . '.set_trace()'
|
||||||
|
|
||||||
function! InsertBreakpoint() abort
|
function! InsertBreakpoint() abort
|
||||||
let l:curr_indent = indent(line("."))
|
:normal o *
|
||||||
|
let l:curr_indent = indent(line(".")) - 1
|
||||||
let l:line = ''
|
let l:line = ''
|
||||||
|
:delete
|
||||||
|
:normal k
|
||||||
while l:curr_indent > 0
|
while l:curr_indent > 0
|
||||||
let l:line .= ' '
|
let l:line .= ' '
|
||||||
let l:curr_indent -= 1
|
let l:curr_indent -= 1
|
||||||
|
|
Loading…
Reference in New Issue
Block a user