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.

19 lines
515 B

  1. " use python3 as linter
  2. if getline(1) =~# '^#!.*python3\>'
  3. if has("nvim")
  4. else
  5. let syntastic_python_python_exec="python3"
  6. endif
  7. endif
  8. let g:ale_fixers['python'] = ['black']
  9. let g:ale_fix_on_save = 1
  10. let g:pymode_run_bind = '<F5>'
  11. let g:pydocstring_formatter = 'google'
  12. let g:ale_virtualenv_dir_names = []
  13. let b:ale_python_pylint_executable = 'python $(which pylint)'
  14. " Make a f-string from normal string
  15. nmap <F8> F"if<ESC>A
  16. " remap pydocstring
  17. nmap <silent> <leader><C-i> <Plug>(pydocstring)