Newer
Older
nvim-config / lua / plugins / nvim-treesitter.lua
@Marcus Bengtsson Marcus Bengtsson on 21 Feb 2024 500 bytes Add treesitter languages
return {
  "nvim-treesitter/nvim-treesitter",
  build = ":TSUpdate",
    config = function () 
    local configs = require("nvim-treesitter.configs")

    configs.setup({
      ensure_installed = { 
        "bash", 
        "git_config", 
        "git_rebase", 
        "gitattributes",
        "gitcommit",
        "gitignore",
        "ini", 
        "lua", 
        "vim", 
        "xml", 
        "yaml" },
      highlight = { enable = true },
      indent = { enable = true },  
    })
  end,
}