1 require'nvim-treesitter.configs'.setup {
2 -- A list of parser names, or "all" (the five listed parsers should always be installed)
43 disable = function(lang, buf)
44 local max_filesize = 100 * 1024 -- 100 KB
45 local ok, stats = pcall(vim.loop.fs_stat, vim.api.nvim_buf_get_name(buf))
46 if ok and stats and stats.size > max_filesize then
51 additional_vim_regex_highlighting = false,