From 9183c29751283022c3eca5bd6204568a57eaa4f1 Mon Sep 17 00:00:00 2001 From: Sonny Bakker Date: Fri, 3 Jan 2025 20:00:58 +0100 Subject: [PATCH] Remove old statubar setup & install python-lsp-server globablly --- templates/nvim/lua/options.lua.j2 | 6 +----- vars/archlinux.yml | 6 ++++++ 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/templates/nvim/lua/options.lua.j2 b/templates/nvim/lua/options.lua.j2 index f04251f..36bbe52 100644 --- a/templates/nvim/lua/options.lua.j2 +++ b/templates/nvim/lua/options.lua.j2 @@ -51,13 +51,9 @@ vim.o.cursorline = true -- theme related vim.o.termguicolors = true --- enable statusbar -vim.o.laststatus = 2 -vim.o.statusline = ' %F %m%r%w %= %{hostname()} %{strlen(&ft)?&ft:"none"} %{(&bomb?",BOM":"")} %{&ff} %l/%L %c %P' - -- use a dedicated file explorer vim.g.loaded_netrw = 1 vim.g.loaded_netrwPlugin = 1 -- python interpreter -vim.g.python3_host_prog = './env/bin/python' +vim.g.python3_host_prog = '/usr/bin/python3' diff --git a/vars/archlinux.yml b/vars/archlinux.yml index c76329f..410a5de 100644 --- a/vars/archlinux.yml +++ b/vars/archlinux.yml @@ -6,6 +6,7 @@ packages: - git - vim - neovim + - python-pynvim - wl-clipboard - npm - docker @@ -90,6 +91,11 @@ 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: