|
@@ -102,6 +102,9 @@ local core_plugins = {
|
|
"nvim-treesitter/nvim-treesitter",
|
|
"nvim-treesitter/nvim-treesitter",
|
|
-- run = ":TSUpdate",
|
|
-- run = ":TSUpdate",
|
|
config = function()
|
|
config = function()
|
|
|
|
+ local utils = require "lvim.utils"
|
|
|
|
+ local path = utils.join_paths(get_runtime_dir(), "site", "pack", "lazy", "opt", "nvim-treesitter")
|
|
|
|
+ vim.opt.rtp:prepend(path) -- treesitter needs to be before nvim's runtime in rtp
|
|
require("lvim.core.treesitter").setup()
|
|
require("lvim.core.treesitter").setup()
|
|
end,
|
|
end,
|
|
},
|
|
},
|