You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
378 B
16 lines
378 B
" use python3 as linter
|
|
if getline(1) =~# '^#!.*python3\>'
|
|
if has("nvim")
|
|
else
|
|
let syntastic_python_python_exec="python3"
|
|
endif
|
|
endif
|
|
|
|
let g:ale_fixers['python'] = ['black']
|
|
let g:ale_fix_on_save = 1
|
|
let g:pymode_run_bind = '<F5>'
|
|
|
|
" Make a f-string from normal string
|
|
nmap <F8> F"if<ESC>A
|
|
" remap pydocstring
|
|
nmap <silent> <leader><C-i> <Plug>(pydocstring)
|