mirror of
https://github.com/ViViDboarder/vim-settings.git
synced 2024-12-23 00:47: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",
|
[">=0.5.0"] = "a189323454d1215c682c7ad7db3e6739d26339c4",
|
||||||
}),
|
}),
|
||||||
config = function()
|
config = function()
|
||||||
utils.require_with_local("plugins.treesitter").setup()
|
require("utils").require_with_local("plugins.treesitter").setup()
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
use({
|
use({
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
-- Configures nvim-treesitter
|
-- Configures nvim-treesitter
|
||||||
local M = {}
|
local M = {}
|
||||||
|
|
||||||
local ensure_installed = {
|
M.ensure_installed = {
|
||||||
"bash",
|
"bash",
|
||||||
"css",
|
"css",
|
||||||
"dockerfile",
|
"dockerfile",
|
||||||
@ -25,7 +25,7 @@ local ensure_installed = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function M.bootstrap()
|
function M.bootstrap()
|
||||||
require("nvim-treesitter.install").ensure_installed_sync(ensure_installed)
|
require("nvim-treesitter.install").ensure_installed_sync(M.ensure_installed)
|
||||||
end
|
end
|
||||||
|
|
||||||
function M.setup()
|
function M.setup()
|
||||||
@ -38,7 +38,7 @@ function M.setup()
|
|||||||
enable = true,
|
enable = true,
|
||||||
disable = {},
|
disable = {},
|
||||||
},
|
},
|
||||||
ensure_installed = ensure_installed,
|
ensure_installed = M.ensure_installed,
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user