neovim configuration using rocks.nvim plugin manager

fix: change path to find local tree-sitter parser on macos

+1 -1
+1 -1
lua/utils/init.lua
··· 58 filetype = filetype or lang 59 local parser = string.format("$HOME/.cache/tree-sitter/lib/%s.so", lang) 60 if vim.fn.has("macunix") == 1 then 61 - parser = string.format("$HOME/Library/Caches/tree-sitter/lib/%s.dylib", lang) 62 end 63 vim.treesitter.language.add(lang, { 64 path = vim.fs.normalize(parser),
··· 58 filetype = filetype or lang 59 local parser = string.format("$HOME/.cache/tree-sitter/lib/%s.so", lang) 60 if vim.fn.has("macunix") == 1 then 61 + parser = string.format("$HOME/.cache/tree-sitter/lib/%s.dylib", lang) 62 end 63 vim.treesitter.language.add(lang, { 64 path = vim.fs.normalize(parser),