treesitter.lua 327 B

1234567891011121314
  1. return {
  2. {
  3. "nvim-treesitter/nvim-treesitter",
  4. build = ":TSUpdate",
  5. config = function()
  6. local config = require("nvim-treesitter.configs")
  7. config.setup({
  8. ensure_installed = { "lua", "javascript" },
  9. highlight = { enable = true },
  10. indent = { enable = true }
  11. })
  12. end
  13. }
  14. }