Skip to content

Commit

Permalink
fix(macos): parsers reinstalling when opening their filetype
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcjkb committed May 25, 2024
1 parent 09b24aa commit 6c1324f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/rocks_treesitter/highlight.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6c1324f

Please sign in to comment.