Some Python setup
This commit is contained in:
parent
a6f6372b0f
commit
10d351d73a
@ -33,7 +33,7 @@ end
|
|||||||
|
|
||||||
-- Use a loop to conveniently call 'setup' on multiple servers and
|
-- Use a loop to conveniently call 'setup' on multiple servers and
|
||||||
-- map buffer local keybindings when the language server attaches
|
-- 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())
|
local capabilities = require('cmp_nvim_lsp').update_capabilities(vim.lsp.protocol.make_client_capabilities())
|
||||||
for _, lsp in pairs(servers) do
|
for _, lsp in pairs(servers) do
|
||||||
nvim_lsp[lsp].setup {
|
nvim_lsp[lsp].setup {
|
||||||
|
5
zshrc
5
zshrc
@ -74,6 +74,11 @@ if [[ -s "$NVM_DIR/bash_completion" ]]; then
|
|||||||
source "$NVM_DIR/bash_completion" # This loads nvm bash_completion
|
source "$NVM_DIR/bash_completion" # This loads nvm bash_completion
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Virtualenvwrapper
|
||||||
|
if [[ -s "$HOME/.local/bin/virtualenvwrapper.sh" ]]; then
|
||||||
|
source "$HOME/.local/bin/virtualenvwrapper.sh"
|
||||||
|
fi
|
||||||
|
|
||||||
# Source machine-specific setup
|
# Source machine-specific setup
|
||||||
if [[ -s ~/.zshrc.local ]]; then
|
if [[ -s ~/.zshrc.local ]]; then
|
||||||
source ~/.zshrc.local
|
source ~/.zshrc.local
|
||||||
|
Loading…
x
Reference in New Issue
Block a user