From 00f7d80347cb856a3a59f42e17f21d731538b148 Mon Sep 17 00:00:00 2001 From: David Work Date: Sat, 29 Jun 2024 17:08:06 +0900 Subject: [PATCH] Ensure that better compiler is used --- lua/plugins/treesitter.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lua/plugins/treesitter.lua b/lua/plugins/treesitter.lua index 4290a5f..6db4232 100644 --- a/lua/plugins/treesitter.lua +++ b/lua/plugins/treesitter.lua @@ -4,6 +4,7 @@ return { build = ":TSUpdate", config = function() vim.cmd("TSUpdate") + require("nvim-treesitter.install").compilers = { "zig", "gcc", "cc", "cl", "clang" } require("nvim-treesitter.configs").setup({ highlight = { enable = true } })