treesitter.lua 343 B

123456789101112131415161718
  1. return {
  2. "nvim-treesitter/nvim-treesitter",
  3. build = ":TSUpdate",
  4. config = function()
  5. local configs = require("nvim-treesitter.configs")
  6. configs.setup({
  7. sync_install = false,
  8. auto_install = true,
  9. highlight = {
  10. enable = true,
  11. additional_vim_regex_highlighting = false,
  12. },
  13. indent = { enable = true },
  14. })
  15. end,
  16. }