From 3ca4225f7ccd2689682a28b24d9df2375a50162b Mon Sep 17 00:00:00 2001 From: Sonny Bakker Date: Thu, 13 Feb 2025 20:50:07 +0100 Subject: [PATCH] Provision python 3.12 --- templates/nvim/lua/lsp.lua.j2 | 1 + templates/nvim/lua/lua-line.lua.j2 | 1 + vars/archlinux.yml | 1 + 3 files changed, 3 insertions(+) diff --git a/templates/nvim/lua/lsp.lua.j2 b/templates/nvim/lua/lsp.lua.j2 index ad3fbbd..ec1b85b 100644 --- a/templates/nvim/lua/lsp.lua.j2 +++ b/templates/nvim/lua/lsp.lua.j2 @@ -159,6 +159,7 @@ vim.diagnostic.config({ local enable_formatting = os.getenv("ENABLE_FORMATTING", False) +-- TODO: fix error message: [LSP] Format request failed, no matching language servers. -- format buffers before saving for specific LSPs if (enable_formatting) then local excluded_clients = { 'pyright' } diff --git a/templates/nvim/lua/lua-line.lua.j2 b/templates/nvim/lua/lua-line.lua.j2 index 5821a00..43f10c9 100644 --- a/templates/nvim/lua/lua-line.lua.j2 +++ b/templates/nvim/lua/lua-line.lua.j2 @@ -2,6 +2,7 @@ local lualine = require('lualine'); +-- TODO: show attached LSP count lualine.setup { sections = { lualine_a = {'mode'}, diff --git a/vars/archlinux.yml b/vars/archlinux.yml index 7bbc6e9..8361533 100644 --- a/vars/archlinux.yml +++ b/vars/archlinux.yml @@ -102,6 +102,7 @@ language_servers: python_download_url: 'https://www.python.org/ftp/python' python_versions: + - { version: 3.12.9, path: 'python3.12', binary: 'python3.12' } - { version: 3.11.9, path: 'python3.11', binary: 'python3.11' } - { version: 3.10.0, path: 'python3.10', binary: 'python3.10' } - { version: 3.9.14, path: 'python3.9', binary: 'python3.9' }