From f45918c93d88b5860ae5d048cd108337a1346522 Mon Sep 17 00:00:00 2001 From: Sonny Bakker Date: Fri, 3 Jan 2025 21:30:49 +0100 Subject: [PATCH] Remove python-lsp-server setup --- templates/nvim/lua/lsp.lua.j2 | 16 ---------------- vars/archlinux.yml | 7 ------- 2 files changed, 23 deletions(-) diff --git a/templates/nvim/lua/lsp.lua.j2 b/templates/nvim/lua/lsp.lua.j2 index 541535f..679f983 100644 --- a/templates/nvim/lua/lsp.lua.j2 +++ b/templates/nvim/lua/lsp.lua.j2 @@ -68,22 +68,6 @@ nvim_lsp.ruff.setup({ }) -nvim_lsp.pylsp.setup({ - on_attach = on_attach, - capabilities = capabilities, - cmd = { 'pylsp', '--verbose' }, - settings = { - pylsp = { - plugins = { - ruff = { - enabled = false -- now through ruff lsp - } - } - } - }, - root_dir = python_root_dir -}) - nvim_lsp.pyright.setup({ settings = { pyright = { diff --git a/vars/archlinux.yml b/vars/archlinux.yml index 410a5de..56ae648 100644 --- a/vars/archlinux.yml +++ b/vars/archlinux.yml @@ -38,8 +38,6 @@ aur_build_dir: '/usr/local/src' python_build_dir: '/usr/local/src' python_install_dir: '/opt' -# Note that the "python-lsp-server" and "neovim" python -# packages should be installed to the corresponding virtualenv as well. language_servers: - { package: ansible-language-server, @@ -91,11 +89,6 @@ language_servers: server_name: 'pyright', auto_setup: false } - - { - package: python-lsp-server, - server_name: 'pylsp', - auto_setup: false - } python_download_url: 'https://www.python.org/ftp/python' python_versions: