python3
This commit is contained in:
parent
9a5bc30a22
commit
c087e30b3d
@ -7,7 +7,7 @@ setlocal shiftwidth=4
|
|||||||
setlocal formatoptions=croq
|
setlocal formatoptions=croq
|
||||||
|
|
||||||
function! Set_python_tag_files()
|
function! Set_python_tag_files()
|
||||||
python << endpython
|
python3 << endpython
|
||||||
import vim
|
import vim
|
||||||
import sys
|
import sys
|
||||||
import os
|
import os
|
||||||
|
@ -220,7 +220,7 @@ function ClangFormat()
|
|||||||
else
|
else
|
||||||
let l:lines='all'
|
let l:lines='all'
|
||||||
endif
|
endif
|
||||||
pyf /usr/share/vim/addons/syntax/clang-format.py
|
py3file /usr/share/vim/addons/syntax/clang-format.py
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
" delete all multiple empty lines
|
" delete all multiple empty lines
|
||||||
|
@ -298,6 +298,7 @@ let g:Gitv_OpenHorizontal = 1
|
|||||||
" ------
|
" ------
|
||||||
command Flake8 call Flake8()
|
command Flake8 call Flake8()
|
||||||
command PyFlake Flake8
|
command PyFlake Flake8
|
||||||
|
" Flake8 options are stored in ~/.config/flake8
|
||||||
|
|
||||||
" -----
|
" -----
|
||||||
" Isort
|
" Isort
|
||||||
|
Loading…
x
Reference in New Issue
Block a user