Skip to content

Commit

Permalink
refactor(treesitter): clear comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ilya-grigoriev committed Oct 5, 2023
1 parent 4355293 commit c27cf51
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions lua/plugin_configs/_treesitter.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,7 @@ require 'nvim-treesitter.configs'.setup {

highlight = {
enable = true,
-- disable = function(_, buf)
-- local max_filesize = 100 * 1024
-- 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
-- end
-- end,
additional_vim_regex_highlighting = false,
additional_vim_regex_highlighting = true,
},
indent = {
enable = true,
Expand Down

0 comments on commit c27cf51

Please sign in to comment.