mirror of
https://github.com/zebrajr/dotfiles.git
synced 2025-12-06 00:20:05 +01:00
29 lines
684 B
Lua
29 lines
684 B
Lua
return {
|
|
'nvim-treesitter/nvim-treesitter',
|
|
build = ":TSUpdate",
|
|
|
|
config = function ()
|
|
local configs = require("nvim-treesitter.configs")
|
|
local treesitter_languages = require("configs.treesitter-langs")
|
|
|
|
configs.setup({
|
|
ensure_installed = treesitter_languages,
|
|
|
|
sync_install = false,
|
|
|
|
auto_install = true,
|
|
|
|
highlight = {
|
|
enable = true,
|
|
|
|
disable = function(lang, buf)
|
|
if lang == "html" then
|
|
print("disabled")
|
|
return true
|
|
end
|
|
end,
|
|
}
|
|
})
|
|
end
|
|
}
|