mirror of https://github.com/LazyVim/starter
44 lines
765 B
Lua
44 lines
765 B
Lua
return {
|
|
{
|
|
"nvim-treesitter/nvim-treesitter",
|
|
opts = {
|
|
ensure_installed = {
|
|
"bash",
|
|
"html",
|
|
"javascript",
|
|
"json",
|
|
"lua",
|
|
"markdown",
|
|
"markdown_inline",
|
|
"python",
|
|
"query",
|
|
"regex",
|
|
"tsx",
|
|
"typescript",
|
|
"vim",
|
|
"yaml",
|
|
"angular",
|
|
"c_sharp",
|
|
"cpp",
|
|
"css",
|
|
"prisma",
|
|
"rust",
|
|
"gitignore",
|
|
"graphql",
|
|
},
|
|
},
|
|
config = function(_, opts)
|
|
require("nvim-treesitter.configs").setup(opts)
|
|
|
|
-- MDX
|
|
vim.filetype.add({
|
|
extension = {
|
|
mdx = "mdx",
|
|
},
|
|
})
|
|
|
|
vim.treesitter.language.register("markdown", "mdx")
|
|
end,
|
|
},
|
|
}
|