diff --git a/nvim/lspconfig.vimrc b/nvim/lspconfig.vimrc index 1b7e38f..6e6792b 100644 --- a/nvim/lspconfig.vimrc +++ b/nvim/lspconfig.vimrc @@ -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 { diff --git a/zshrc b/zshrc index 5907c49..b6e4362 100644 --- a/zshrc +++ b/zshrc @@ -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