1local nvim_data_dir = vim.fn.stdpath("data")
2local command = "ln -sf " .. nvim_data_dir .. "/site/parser/*.so " .. nvim_data_dir .. "/lazy/nvim-treesitter/parser"
3
4return {
5 "nvim-treesitter/nvim-treesitter",
6 build = command,
7 opts = function(_, opts)
8 vim.fn.system(command)
9 end,
10}