2021-06-23 22:51:18 +02:00
|
|
|
local function init()
|
|
|
|
require'nvim-treesitter.configs'.setup {
|
2021-08-06 14:25:03 +02:00
|
|
|
ensure_installed = "all", -- list of languages
|
2021-06-23 22:51:18 +02:00
|
|
|
highlight = {
|
|
|
|
enable = true,
|
|
|
|
},
|
|
|
|
rainbow = {
|
|
|
|
enable = true,
|
|
|
|
extended_mode = true, -- Highlight also non-parentheses delimiters, boolean or table: lang -> boolean
|
|
|
|
}
|
|
|
|
}
|
|
|
|
end
|
|
|
|
|
|
|
|
return {
|
|
|
|
init = init
|
|
|
|
}
|