From caa06552544c48f803fb85e8b8d256abc3e9e876 Mon Sep 17 00:00:00 2001 From: joelazar Date: Sun, 2 Aug 2026 02:03:05 +0200 Subject: [PATCH] :wrench: use ty for python lsp --- lua/config/options.lua | 2 +- lua/plugins/mason.lua | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lua/config/options.lua b/lua/config/options.lua index 8d62817..b0501cb 100644 --- a/lua/config/options.lua +++ b/lua/config/options.lua @@ -3,7 +3,7 @@ -- Add any additional options here -- LSP Server to use for Python. -vim.g.lazyvim_python_lsp = "basedpyright" +vim.g.lazyvim_python_lsp = "ty" -- Only run Prettier when a prettier config file is present (avoid conflicts with Biome) vim.g.lazyvim_prettier_needs_config = true diff --git a/lua/plugins/mason.lua b/lua/plugins/mason.lua index 9f3313a..6ad692a 100644 --- a/lua/plugins/mason.lua +++ b/lua/plugins/mason.lua @@ -11,6 +11,7 @@ return { "ruff", -- Python linting and formatting "rust-analyzer", -- Rust LSP "sqlfluff", -- SQL linting and formatting + "ty", -- Python LSP "vtsls", -- TypeScript LSP (not active via LazyVim when tsgo is enabled) }, }, -- 2.51.2