From d45420e29533f703831279adf77ae0121695fe36 Mon Sep 17 00:00:00 2001 From: Blallo Date: Wed, 19 Jun 2019 10:15:30 +0200 Subject: [PATCH] Update 20190619 --- bundle/Dockerfile.vim | 2 +- bundle/ale | 2 +- bundle/black | 2 +- bundle/deoplete-jedi | 2 +- bundle/deoplete.nvim | 2 +- bundle/fzf.vim | 2 +- bundle/neosnippet-snippets | 2 +- bundle/neosnippet.vim | 2 +- bundle/nvim-yarp | 2 +- bundle/rust.vim | 2 +- bundle/srcery-vim | 2 +- bundle/vim-airline | 2 +- bundle/vim-fugitive | 2 +- bundle/vim-go | 2 +- bundle/vim-rooter | 2 +- ftplugin/python.vim | 15 +++++++++------ 16 files changed, 24 insertions(+), 21 deletions(-) diff --git a/bundle/Dockerfile.vim b/bundle/Dockerfile.vim index da5d2b8..f647f90 160000 --- a/bundle/Dockerfile.vim +++ b/bundle/Dockerfile.vim @@ -1 +1 @@ -Subproject commit da5d2b890d567e610d5f0f44a199d95b1f3148c5 +Subproject commit f647f90dcecb8738cd53ac8dd293d93570039e00 diff --git a/bundle/ale b/bundle/ale index c88ebc5..90b1ea2 160000 --- a/bundle/ale +++ b/bundle/ale @@ -1 +1 @@ -Subproject commit c88ebc5e70852c9571aa7a94b5eb28df000d693a +Subproject commit 90b1ea230db9132d7ef455ea3b395733c12206e1 diff --git a/bundle/black b/bundle/black index 188c31d..7ce3894 160000 --- a/bundle/black +++ b/bundle/black @@ -1 +1 @@ -Subproject commit 188c31db7c831741e69b067c53dd040917ac03f7 +Subproject commit 7ce3894f23adf94f2f3cf206e06e7dce9f4ce401 diff --git a/bundle/deoplete-jedi b/bundle/deoplete-jedi index f89669d..55471c2 160000 --- a/bundle/deoplete-jedi +++ b/bundle/deoplete-jedi @@ -1 +1 @@ -Subproject commit f89669d2b089d75f1eccbf8d14277b74857a850d +Subproject commit 55471c298412ea3017b0189fd96c032a780963e1 diff --git a/bundle/deoplete.nvim b/bundle/deoplete.nvim index cf50012..94b33d6 160000 --- a/bundle/deoplete.nvim +++ b/bundle/deoplete.nvim @@ -1 +1 @@ -Subproject commit cf5001299e166243d14e565f45f8788b85c620ff +Subproject commit 94b33d6a5f9e6bae8ac2abc0bddc89b5ddf02b02 diff --git a/bundle/fzf.vim b/bundle/fzf.vim index ac4e7bf..5c87ab8 160000 --- a/bundle/fzf.vim +++ b/bundle/fzf.vim @@ -1 +1 @@ -Subproject commit ac4e7bfb36c88d27799c080218cea3bb833bdbd9 +Subproject commit 5c87ab86c0e7b0ec8a5edd39a4ce5500bb9e9333 diff --git a/bundle/neosnippet-snippets b/bundle/neosnippet-snippets index ed18d97..c5bb921 160000 --- a/bundle/neosnippet-snippets +++ b/bundle/neosnippet-snippets @@ -1 +1 @@ -Subproject commit ed18d979d76709036f6c4f7a2bdbfb29b11e3e0e +Subproject commit c5bb9211f3050e405ec9e03cf655624c205b9e94 diff --git a/bundle/neosnippet.vim b/bundle/neosnippet.vim index 3d33626..ed80ae8 160000 --- a/bundle/neosnippet.vim +++ b/bundle/neosnippet.vim @@ -1 +1 @@ -Subproject commit 3d3362622ef10deedaea8e026054064bf62aeb33 +Subproject commit ed80ae8cee732d52eb841d509a95aca9c27ece7a diff --git a/bundle/nvim-yarp b/bundle/nvim-yarp index 1524cf7..8fcb1af 160000 --- a/bundle/nvim-yarp +++ b/bundle/nvim-yarp @@ -1 +1 @@ -Subproject commit 1524cf7988d1e1ed7475ead3654987f64943a1f0 +Subproject commit 8fcb1af27772174df5446d49de29052cac47e46f diff --git a/bundle/rust.vim b/bundle/rust.vim index 9984b97..53f40ec 160000 --- a/bundle/rust.vim +++ b/bundle/rust.vim @@ -1 +1 @@ -Subproject commit 9984b9753606fe2c8d7f3d4f9d67c1777a967cd6 +Subproject commit 53f40ec6c628099e353f25cabd54e5047c28d81d diff --git a/bundle/srcery-vim b/bundle/srcery-vim index a52ad90..93fbd01 160000 --- a/bundle/srcery-vim +++ b/bundle/srcery-vim @@ -1 +1 @@ -Subproject commit a52ad903402cddc204e105fde94c4ceaa024b8b5 +Subproject commit 93fbd01266ea59a668f00b1f5950176705f273f3 diff --git a/bundle/vim-airline b/bundle/vim-airline index 03f63eb..193e350 160000 --- a/bundle/vim-airline +++ b/bundle/vim-airline @@ -1 +1 @@ -Subproject commit 03f63eb666485d1c432e91c32c0edd1d6dd773cb +Subproject commit 193e3504408118687a4063d19d6245cc676281c8 diff --git a/bundle/vim-fugitive b/bundle/vim-fugitive index 5d99841..0f9db6a 160000 --- a/bundle/vim-fugitive +++ b/bundle/vim-fugitive @@ -1 +1 @@ -Subproject commit 5d99841b22928f1597d447c68de844989bf9a804 +Subproject commit 0f9db6af704f6fcf5cd06de964deb8223e47db4c diff --git a/bundle/vim-go b/bundle/vim-go index c4b419d..39201bf 160000 --- a/bundle/vim-go +++ b/bundle/vim-go @@ -1 +1 @@ -Subproject commit c4b419db6c57125e91d6f292daa664b73b155b7b +Subproject commit 39201bf50faee8ff5b8ebc02c17fdf56f1cbeccb diff --git a/bundle/vim-rooter b/bundle/vim-rooter index 295ba95..eef9813 160000 --- a/bundle/vim-rooter +++ b/bundle/vim-rooter @@ -1 +1 @@ -Subproject commit 295ba9549aef51ec649e104c65663d3c5f1f23e6 +Subproject commit eef98131fef264d0f4e4f95c42e0de476c78009c diff --git a/ftplugin/python.vim b/ftplugin/python.vim index 29881ef..094905e 100644 --- a/ftplugin/python.vim +++ b/ftplugin/python.vim @@ -8,11 +8,11 @@ setlocal textwidth=88 " setlocal textwidth=0 " Multi-line commenting and uncommenting. -vmap :s/^\(\s*\)/\1#/ -vmap :s/^\(\s*\)#/\1/ +" vmap :s/^\(\s*\)/\1#/ +" vmap :s/^\(\s*\)#/\1/ " Use the AutoPythonImport tool. -map :call AutoPythonImport(expand("")) +" map :call AutoPythonImport(expand("")) " Change the line length for Python files based on configuration files. function! ChangePythonLineLength() abort @@ -34,11 +34,11 @@ endfunction " call ChangePythonLineLength() -let b:ale_linters = ['flake8'] +let b:ale_linters = ['flake8', 'mypy'] let b:ale_fixers = [ -\ 'black', \ 'autopep8', \ 'yapf', +\ 'black', \] 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()' function! InsertBreakpoint() abort - let l:curr_indent = indent(line(".")) + :normal o * + let l:curr_indent = indent(line(".")) - 1 let l:line = '' + :delete + :normal k while l:curr_indent > 0 let l:line .= ' ' let l:curr_indent -= 1