Add python linter, formatter, and language server

This commit is contained in:
mitchell 2021-08-24 13:37:20 -04:00
parent 0c54457655
commit 426bbc3aba
1 changed files with 3 additions and 0 deletions

3
.vimrc
View File

@ -112,6 +112,7 @@ let g:LanguageClient_serverCommands = {
\ 'go': ['gopls'],
\ 'fsharp': ['dotnet', '~/code/fsprojects/fsharp-language-server/bin/FSharpLanguageServer.dll'],
\ 'dhall': ['dhall-lsp-server'],
\ 'python': ['/home/m/.asdf/shims/pyls'],
\ }
@ -137,6 +138,7 @@ let g:ale_linters = {
\ 'ruby': ['rubocop'],
\ 'css': ['stylelint'],
\ 'sh': ['shellcheck'],
\ 'python': ['pyflakes', 'pycodestyle'],
\ }
@ -154,6 +156,7 @@ let g:ale_fixers = {
\ 'elixir': ['mix_format'],
\ 'terraform': ['terraform'],
\ 'ruby': ['rubocop'],
\ 'python': ['yapf'],
\ }
let g:ale_fix_on_save = 1