From 20c983b8c189270537b70dbd2d12c972fbb5c1ad Mon Sep 17 00:00:00 2001 From: Daveanand Mannie Date: Mon, 2 Sep 2024 20:20:03 -0400 Subject: [PATCH] fixed late zig compile call --- lua/plugins/treesitter.lua | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/lua/plugins/treesitter.lua b/lua/plugins/treesitter.lua index 116aa63..d335f29 100644 --- a/lua/plugins/treesitter.lua +++ b/lua/plugins/treesitter.lua @@ -1,3 +1,5 @@ +require("nvim-treesitter.install").compilers = { "zig" } +require("nvim-treesitter.install").prefer_git = false return { { "nvim-treesitter/nvim-treesitter", @@ -7,7 +9,21 @@ return { opts = { highlight = { enable = true }, indent = { enable = true }, - ensure_installed = { "ninja", "rst"} + ensure_installed = { + -- from extras -> python + "python", + "ninja", + "rst", + "lua", + -- from extras -> go + "go", + "gomod", + "gowork", + "gosum", + "toml", + "json", + "html", + }, }, }, }