vim: Add pyls

This commit is contained in:
Simon Bruder 2020-07-04 14:00:43 +02:00
parent 2ad1b039ba
commit cce1faff2b
No known key found for this signature in database
GPG key ID: 6F03E0000CC5B62F
2 changed files with 15 additions and 13 deletions

View file

@ -98,6 +98,7 @@ set hidden
let g:LanguageClient_serverCommands = { let g:LanguageClient_serverCommands = {
\ 'rust': ['~/.cargo/bin/rustup', 'run', 'stable', 'rls'], \ 'rust': ['~/.cargo/bin/rustup', 'run', 'stable', 'rls'],
\ 'go': ['gopls'], \ 'go': ['gopls'],
\ 'python': ['pyls'],
\ } \ }
let g:LanguageClient_settingsPath = '~/.config/nvim/LanguageClient.json' let g:LanguageClient_settingsPath = '~/.config/nvim/LanguageClient.json'

View file

@ -1,5 +1,6 @@
#!/bin/zsh #!/bin/zsh
for module in \ for module in \
'python-language-server[pyflakes,rope]' \
aria2p \ aria2p \
autorandr \ autorandr \
black \ black \
@ -10,8 +11,8 @@ platformio \
pre-commit \ pre-commit \
xkcdpass \ xkcdpass \
xq \ xq \
youtube-dl youtube-dl \
yq \ yq
do do
pipx install --force "${module}" pipx install "${module}" || true
done done