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,7 +2,8 @@ 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()
require('nvim-treesitter.configs').setup {
ensure_installed = "all", ensure_installed = "all",
sync_install = true, sync_install = true,
ignore_install = {}, ignore_install = {},
@ -12,4 +13,5 @@ return {
additional_vim_regex_highlighting = false, additional_vim_regex_highlighting = false,
}, },
} }
end
} }