treesitter.lua (474B)
1 return { 2 { 3 "nvim-treesitter/nvim-treesitter", 4 build = ":TSUpdate", 5 -- Neovim 0.12 bundles parsers for: bash, lua, python, markdown, vim, vimdoc. 6 -- nvim-treesitter only needs to install what's missing. 7 -- Requires tree-sitter-cli: sudo pacman -S tree-sitter-cli 8 config = function() 9 require("nvim-treesitter").install({ 10 "yaml", 11 "toml", 12 "json", 13 "hcl", -- Terraform / OpenTofu .tf files 14 }) 15 end, 16 }, 17 }