Skip to content

Commit

Permalink
Merge pull request #13 from nvim-neorocks/12-macos-treesitter-re-inst…
Browse files Browse the repository at this point in the history
…alls-parsers-every-time-i-open-a-relevant-file

fix(macos): parsers reinstalling when opening their filetype
  • Loading branch information
mrcjkb authored May 25, 2024
2 parents 09b24aa + 6c1324f commit 11662de
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 11662de

Please sign in to comment.