From 649725f4834d6d4e14826ddb2e44524ff44f6fba Mon Sep 17 00:00:00 2001 From: dogeystamp Date: Mon, 4 Mar 2024 21:41:48 -0500 Subject: [PATCH] nvim: back to pyright mypy is slow and boring --- programs | 1 + programs-python | 8 ++++---- src/.config/nvim/lua/coding.lua | 20 ++++++++++---------- 3 files changed, 15 insertions(+), 14 deletions(-) diff --git a/programs b/programs index 56c22b4..3d979d5 100644 --- a/programs +++ b/programs @@ -127,6 +127,7 @@ syncthing inkscape typescript typescript-language-server +pyright bash-language-server vscode-css-languageserver rust-analyzer diff --git a/programs-python b/programs-python index fc21b35..4564bf8 100755 --- a/programs-python +++ b/programs-python @@ -6,7 +6,7 @@ pipx install \ cppman \ git+https://github.com/dogeystamp/testr -pipx install python-lsp-server -pipx inject python-lsp-server \ - python-lsp-black \ - pylsp-mypy +# pipx install python-lsp-server +# pipx inject python-lsp-server \ +# python-lsp-black \ +# pylsp-mypy diff --git a/src/.config/nvim/lua/coding.lua b/src/.config/nvim/lua/coding.lua index 45f05e3..a5acf03 100644 --- a/src/.config/nvim/lua/coding.lua +++ b/src/.config/nvim/lua/coding.lua @@ -90,16 +90,16 @@ end -- table declares LSPs to be set up -- as well as settings per server (overrides defaults) local servers = { - --pyright = {}, - pylsp = { - settings = { - plugins = { - ['python-lsp-black'] = {}, - ['python-pyflakes'] = {}, - ['pylsp-mypy'] = {}, - }, - }, - }, + pyright = {}, + -- pylsp = { + -- settings = { + -- plugins = { + -- ['python-lsp-black'] = {}, + -- ['python-pyflakes'] = {}, + -- ['pylsp-mypy'] = {}, + -- }, + -- }, + -- }, clangd = {}, tsserver = {}, bashls = {},