From 6baa4feab0c068263c872c746c1eac0b52f8acd3 Mon Sep 17 00:00:00 2001 From: ViViDboarder Date: Thu, 30 Sep 2021 10:56:18 -0700 Subject: [PATCH] nvim: Use pyrite --- install-language-servers.sh | 1 + neovim/lua/plugins/lsp.lua | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/install-language-servers.sh b/install-language-servers.sh index 0bf2588..78104ec 100755 --- a/install-language-servers.sh +++ b/install-language-servers.sh @@ -35,6 +35,7 @@ function install_language_servers() { maybe_run pip3 install --user --upgrade python-language-server maybe_run pip install --user python-lsp-server[all] || echo "WARNING: python-lsp-server is py3 only" maybe_run pip3 install --user python-lsp-server[all] + maybe_run npm install -g pyrite # Rust maybe_run rustup component add rls rustfmt rust-analysis rust-src diff --git a/neovim/lua/plugins/lsp.lua b/neovim/lua/plugins/lsp.lua index 5dcb529..781068e 100644 --- a/neovim/lua/plugins/lsp.lua +++ b/neovim/lua/plugins/lsp.lua @@ -68,7 +68,8 @@ local function config_lsp() local language_servers = { "bashls", "gopls", - "pylsp", + -- "pylsp", + "pyright", "rust_analyzer", } local lsp_config = require("lspconfig")