This commit is contained in:
Henrik Bakken
2022-04-15 14:00:46 +02:00
parent 22dbddbf9f
commit 632048e7f0
+6 -1
View File
@@ -440,7 +440,12 @@ require("packer").startup {
run = ":TSUpdate", run = ":TSUpdate",
config = function() config = function()
require("nvim-treesitter.configs").setup { require("nvim-treesitter.configs").setup {
ensure_installed = "maintained" ensure_installed = {
"bash", "lua", "c", "comment", "cpp", "css", "cuda", "dockerfile",
"fish", "graphql", "help", "html", "java", "javascript", "json",
"json5", "julia", "latex", "lua", "make", "markdown", "ninja",
"python", "regex", "toml", "vim", "yaml"
}
} }
vim.opt.foldexpr = "nvim_treesitter#foldexpr()" vim.opt.foldexpr = "nvim_treesitter#foldexpr()"
end end