feat: fixed treesitter loading

main
Ricard Illa 2023-08-02 16:37:23 +02:00
parent 5dc7a83abe
commit 6e81da9740
Signed by: rilla
GPG Key ID: 525307BD467E4205
1 changed files with 12 additions and 10 deletions

View File

@ -2,14 +2,16 @@ return {
"nvim-treesitter/nvim-treesitter", "nvim-treesitter/nvim-treesitter",
dependencies = { "nvim-treesitter/nvim-treesitter-textobjects" }, dependencies = { "nvim-treesitter/nvim-treesitter-textobjects" },
build = ":TSUpdate", build = ":TSUpdate",
config = { config = function()
ensure_installed = "all", require('nvim-treesitter.configs').setup {
sync_install = true, ensure_installed = "all",
ignore_install = {}, sync_install = true,
auto_install = true, ignore_install = {},
highlight = { auto_install = true,
enable = true, highlight = {
additional_vim_regex_highlighting = false, enable = true,
}, additional_vim_regex_highlighting = false,
} },
}
end
} }