mirror of
https://github.com/ViViDboarder/vim-settings.git
synced 2024-12-22 19:37:34 +00:00
Fix loading of treesitter config
This commit is contained in:
parent
5b3f3f51b4
commit
625879cacb
@ -293,7 +293,7 @@ use({
|
||||
[">=0.5.0"] = "a189323454d1215c682c7ad7db3e6739d26339c4",
|
||||
}),
|
||||
config = function()
|
||||
utils.require_with_local("plugins.treesitter").setup()
|
||||
require("utils").require_with_local("plugins.treesitter").setup()
|
||||
end,
|
||||
})
|
||||
use({
|
||||
|
@ -1,7 +1,7 @@
|
||||
-- Configures nvim-treesitter
|
||||
local M = {}
|
||||
|
||||
local ensure_installed = {
|
||||
M.ensure_installed = {
|
||||
"bash",
|
||||
"css",
|
||||
"dockerfile",
|
||||
@ -25,7 +25,7 @@ local ensure_installed = {
|
||||
}
|
||||
|
||||
function M.bootstrap()
|
||||
require("nvim-treesitter.install").ensure_installed_sync(ensure_installed)
|
||||
require("nvim-treesitter.install").ensure_installed_sync(M.ensure_installed)
|
||||
end
|
||||
|
||||
function M.setup()
|
||||
@ -38,7 +38,7 @@ function M.setup()
|
||||
enable = true,
|
||||
disable = {},
|
||||
},
|
||||
ensure_installed = ensure_installed,
|
||||
ensure_installed = M.ensure_installed,
|
||||
})
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user