NeoVimConfiguration/lua/core/plugin_config/treesitter.lua

23 lines
374 B
Lua

require('nvim-treesitter.configs').setup({
-- list of languages to grab
ensure_installed = 'all',
-- how to install them
sync_install = false,
auto_install = true,
-- enable highlight
highlight = { enable = true },
-- enable indentation
indent = {
enable = true,
disable = {},
},
-- enable autotag
autotag = {
enable = true,
},
})