treesitter.lua (615B)
1 return { 2 { 3 "nvim-treesitter/nvim-treesitter", 4 branch = 'master', 5 lazy = false, 6 build = ":TSUpdate", 7 config = function() 8 local config = require("nvim-treesitter.configs") 9 config.setup({ 10 ensure_installed = { 11 "lua", 12 "javascript", 13 "c", 14 "cpp", 15 "go", 16 "markdown", 17 "meson", 18 "make", 19 "cmake", 20 "python", 21 "rust", 22 "yaml", 23 "toml", 24 "ron", 25 }, 26 highlight = { enable = true }, 27 indent = { enable = true }, 28 }) 29 end 30 } 31 }