-- if true then return {} end -- WARN: REMOVE THIS LINE TO ACTIVATE THIS FILE

-- Customize Treesitter
-- --------------------
-- Treesitter customizations are handled with AstroCore
-- as nvim-treesitter simply provides a download utility for parsers
-- :TSInstall all

---@type LazySpec
return {
  "AstroNvim/astrocore",
  ---@type AstroCoreOpts
  opts = {
    treesitter = {
      highlight = true, -- enable/disable treesitter based highlighting
      indent = true, -- enable/disable treesitter based indentation
      auto_install = true, -- enable/disable automatic installation of detected languages
      ensure_installed = {
        "asm",
        "angular",
        "arduino",
        "bash",
        "c",
        "c3",
        "c_sharp",
        "cmake",
        "cpp",
        "css",
        "csv",
        "dart",
        "dockerfile",
        "fish",
        "gitignore",
        "go",
        "graphql",
        "html",
        "hyprlang",
        "java",
        "javadoc",
        "javascript",
        "jq",
        "json",
        "kitty",
        "kotlin",
        "latex",
        "linkerscript",
        "llvm",
        "lua",
        "luadoc",
        "make",
        "markdown",
        "markdown_inline",
        "nasm",
        "nginx",
        "ninja",
        "nix",
        "odin",
        "pascal",
        "perl",
        "php",
        "pioasm",
        "vim",
        "vimdoc",
      },
    },
  },
}
