Added pre-installed languages for treesitter

This commit is contained in:
2026-05-20 13:15:01 +01:00
parent 3f7353e437
commit 2e73fa6f3a
+34 -2
View File
@@ -74,7 +74,23 @@ return {
branch = "main",
build = ":TSUpdate",
opts = {
ensure_installed = { "bash", "c", "html", "lua", "markdown", "nu", "vim", "vimdoc" },
ensure_installed = {
"bash",
"c",
"elixir",
"html",
"lua",
"markdown",
"nix",
"nu",
"python",
"quarto",
"rust",
"scheme",
"typst",
"vim",
"vimdoc",
},
auto_install = true,
highlight = { enable = true },
indent = { enable = true },
@@ -82,7 +98,23 @@ return {
config = function()
local treesitter = require("nvim-treesitter")
treesitter.setup()
treesitter.install = { "bash", "c", "html", "lua", "markdown", "nu", "vim", "vimdoc" }
treesitter.install = {
"bash",
"c",
"elixir",
"html",
"lua",
"markdown",
"nix",
"nu",
"python",
"quarto",
"rust",
"scheme",
"typst",
"vim",
"vimdoc",
}
vim.api.nvim_create_autocmd("FileType", {
pattern = "*",