Files
nvim-config/lua/plugins/treesitter.lua
Emma Turner 81bf51764c Add nvim-orgmode, neorg
Lock LazyVim version because of neorg issues
2026-01-28 15:38:34 -07:00

39 lines
859 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",
-- },
-- },
-- },
-- since `vim.tbl_deep_extend`, can only merge tables and not lists, the code above
-- would overwrite `ensure_installed` with the new value.
-- If you'd rather extend the default config, use the code below instead:
{
"nvim-treesitter/nvim-treesitter",
opts = function(_, opts)
vim.list_extend(opts.ensure_installed, {
"c_sharp",
"css",
"sql",
"xml",
})
end,
},
}