From 10d351d73a2c05258727c2b5e596f1a01b7d1485 Mon Sep 17 00:00:00 2001 From: Daniel Lynn Date: Sat, 2 Apr 2022 22:48:19 -0500 Subject: [PATCH] Some Python setup --- nvim/lspconfig.vimrc | 2 +- zshrc | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) 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