.dotfiles/nvim.bk/lua/configs/treesitter.lua

20 lines
487 B
Lua

require("nvim-treesitter.configs").setup(astronvim.user_plugin_opts("plugins.treesitter", {
highlight = {
enable = true,
additional_vim_regex_highlighting = false,
},
context_commentstring = {
enable = true,
enable_autocmd = false,
},
rainbow = {
enable = true,
disable = { "html" },
extended_mode = false,
max_file_lines = nil,
},
autotag = { enable = true },
incremental_selection = { enable = true },
indent = { enable = false },
}))