1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2026-03-28 10:24:47 +01:00
Files
dotfiles/.config/nvim/lua/plugins/nvim-treesitter.lua

27 lines
565 B
Lua

return {
-- better language highlighting by improved parsing
"nvim-treesitter/nvim-treesitter",
build = ":TSUpdate",
dependencies = {
"windwp/nvim-ts-autotag", -- automatically close html-tags
"nvim-treesitter/nvim-treesitter-context",
},
lazy = false,
config = function()
local treesitter = require("nvim-treesitter")
treesitter.setup()
treesitter.install({
"bash",
"css",
"html",
"markdown",
"markdown_inline",
"latex",
"python",
"rust",
"lua",
"yaml",
})
end,
}