File tree 2 files changed +8
-3
lines changed
2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 4
4
" Author : bbxytl
5
5
6
6
" File Name : python.vim
7
- " Last Modified : 2021-03-03 17:46
7
+ " Last Modified : 2024-02-22 17:41
8
8
" Describe :
9
9
"
10
10
" ====================================================
@@ -35,4 +35,7 @@ let python_highlight_all = 1
35
35
" let g:jedi#completions_command = "<C-Tab>"
36
36
" let g:jedi#rename_command = "jr"
37
37
38
-
38
+ Bundle ' tell-k/vim-autopep8'
39
+ let g: autopep8_max_line_length= 1000
40
+ let g: autopep8_disable_show_diff= 1
41
+ let g: autopep8_on_save = 1
Original file line number Diff line number Diff line change 4
4
" Author : bbxytl
5
5
6
6
" File Name : vimrc.bundles_complex
7
- " Last Modified : 2022-06-16 12:44
7
+ " Last Modified : 2024-02-22 17:07
8
8
" Describe :
9
9
" 默认补全工具使用 ycm, 可通过在 bundle 目录下建立
10
10
" 软连接 vimrc.bundles_completion 来修改补全工具
@@ -25,6 +25,8 @@ noremap <F8> :Autoformat<CR>
25
25
" au BufWrite * :Autoformat
26
26
" let g:autoformat_verbosemode=1
27
27
" let g:autoformat_autoindent = 1
28
+ " let g:formatdef_autopep8 = "'autopep8 - --range '.a:firstline.' '.a:lastline"
29
+ " let g:formatters_python = ['flake8']
28
30
" 格式化shell, vim-autoformat 包含了此功能
29
31
" Bundle 'z0mbix/vim-shfmt', { 'for': 'sh' }
30
32
" 根据文件调用不同的插件
You can’t perform that action at this time.
0 commit comments