fix: Python parser error message with '*exept'

This commit is contained in:
Mathias Schneider
2026-04-08 09:15:00 +02:00
parent 9f4227bfcf
commit 1ddaa5bce2
@@ -4,6 +4,10 @@ return {
build = ":TSUpdate",
event = { "BufReadPost", "BufNewFile" },
config = function()
-- Ensure nvim-treesitter queries are preferred over runtime queries
-- This fixes the "except*" syntax error with updated parsers
vim.opt.runtimepath:prepend(vim.fn.stdpath("data") .. "/lazy/nvim-treesitter")
local ok, configs = pcall(require, "nvim-treesitter.configs")
if ok then
configs.setup({