diff options
| author | Freya Murphy <freya@freyacat.org> | 2023-12-04 19:22:07 -0500 |
|---|---|---|
| committer | Freya Murphy <freya@freyacat.org> | 2023-12-04 19:22:07 -0500 |
| commit | 2e0f1541d649c648b4c8998fa38102e9f8322d5e (patch) | |
| tree | 86f324b24d17bf78f1ffaee78b214c76aa6411f2 /.config/nvim/lua/treesitter.lua | |
| parent | fix neovim having two titles, fix man (diff) | |
| download | dotfiles-arch-2e0f1541d649c648b4c8998fa38102e9f8322d5e.tar.gz dotfiles-arch-2e0f1541d649c648b4c8998fa38102e9f8322d5e.tar.bz2 dotfiles-arch-2e0f1541d649c648b4c8998fa38102e9f8322d5e.zip | |
update mako, nvim add prolog
Diffstat (limited to '')
| -rw-r--r-- | .config/nvim/lua/treesitter.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/.config/nvim/lua/treesitter.lua b/.config/nvim/lua/treesitter.lua index 268ec0e..b383d79 100644 --- a/.config/nvim/lua/treesitter.lua +++ b/.config/nvim/lua/treesitter.lua @@ -17,9 +17,8 @@ require('nvim-treesitter.configs').setup { ignore_install = { "javascript" }, highlight = { enable = true, - disable = { "c", "rust" }, disable = function(lang, buf) - local max_filesize = 100 * 1024 -- 100 KB + local max_filesize = 1000 * 1024 -- 1 MiB local ok, stats = pcall(vim.loop.fs_stat, vim.api.nvim_buf_get_name(buf)) if ok and stats and stats.size > max_filesize then return true |