All of my important config files
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.
 
 
 
 

17 lines
417 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>'
let g:pydocstring_formatter = 'google'
" Make a f-string from normal string
nmap <F8> F"if<ESC>A
" remap pydocstring
nmap <silent> <leader><C-i> <Plug>(pydocstring)