From 6c1324fa3ada9967d7074f1bd1a2f590f6aa1478 Mon Sep 17 00:00:00 2001 From: Marc Jakobi Date: Sun, 26 May 2024 01:17:43 +0200 Subject: [PATCH] fix(macos): parsers reinstalling when opening their filetype --- lua/rocks_treesitter/highlight.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/rocks_treesitter/highlight.lua b/lua/rocks_treesitter/highlight.lua index 61b74ee..ca5372b 100644 --- a/lua/rocks_treesitter/highlight.lua +++ b/lua/rocks_treesitter/highlight.lua @@ -10,7 +10,7 @@ for filetype, lang in pairs(config.parser_map) do end local sysname = vim.uv.os_uname().sysname:lower() -local parser_extension = (sysname:find("windows") and "dll") or (sysname:find("darwin") and "dylib") or "so" +local parser_extension = (sysname:find("windows") and "dll") or "so" ---@class AutoCmdContext ---@field id integer autocommand id