This commit is contained in:
2026-07-22 14:43:26 +02:00
parent 5650e2f96a
commit 8c8f1ea228
8 changed files with 303 additions and 68 deletions

View File

@@ -5,6 +5,14 @@ return {
build = ":TSUpdate",
config = function()
local treesitter = require("nvim-treesitter")
treesitter.install({ "python", "go", "zig", "markdown", "json", "yaml", "javascript", "typescript", "bash", "python", "lua" })
treesitter.install({ "python", "go", "zig", "markdown", "json", "yaml", "javascript", "typescript", "bash", "python",
"lua" })
vim.api.nvim_create_autocmd("FileType", {
group = vim.api.nvim_create_augroup("treesitter-start", { clear = true }),
callback = function()
pcall(vim.treesitter.start)
end
})
end
}