Some Python setup

This commit is contained in:
Daniel Lynn 2022-04-02 22:48:19 -05:00
parent a6f6372b0f
commit 10d351d73a
Signed by: daniel
GPG Key ID: 28496A140E180A9D
2 changed files with 6 additions and 1 deletions

View File

@ -33,7 +33,7 @@ end
-- Use a loop to conveniently call 'setup' on multiple servers and
-- map buffer local keybindings when the language server attaches
local servers = { 'solargraph', 'rust_analyzer', 'gopls', 'tsserver', 'stylelint_lsp' }
local servers = { 'solargraph', 'rust_analyzer', 'gopls', 'tsserver', 'stylelint_lsp', 'pylsp'}
local capabilities = require('cmp_nvim_lsp').update_capabilities(vim.lsp.protocol.make_client_capabilities())
for _, lsp in pairs(servers) do
nvim_lsp[lsp].setup {

5
zshrc
View File

@ -74,6 +74,11 @@ if [[ -s "$NVM_DIR/bash_completion" ]]; then
source "$NVM_DIR/bash_completion" # This loads nvm bash_completion
fi
# Virtualenvwrapper
if [[ -s "$HOME/.local/bin/virtualenvwrapper.sh" ]]; then
source "$HOME/.local/bin/virtualenvwrapper.sh"
fi
# Source machine-specific setup
if [[ -s ~/.zshrc.local ]]; then
source ~/.zshrc.local