mirror of
https://github.com/LunarVim/LunarVim.git
synced 2024-09-20 10:35:08 +02:00
fix(treesitter): prepend to rtp (#3708)
This commit is contained in:
parent
ccb80e41ee
commit
d7a9e6244f
1 changed files with 3 additions and 0 deletions
|
@ -102,6 +102,9 @@ local core_plugins = {
|
|||
"nvim-treesitter/nvim-treesitter",
|
||||
-- run = ":TSUpdate",
|
||||
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()
|
||||
end,
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue