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",
dependencies = { "nvim-treesitter/nvim-treesitter-textobjects" },
build = ":TSUpdate",
config = {
ensure_installed = "all",
sync_install = true,
ignore_install = {},
auto_install = true,
highlight = {
enable = true,
additional_vim_regex_highlighting = false,
},
}
config = function()
require('nvim-treesitter.configs').setup {
ensure_installed = "all",
sync_install = true,
ignore_install = {},
auto_install = true,
highlight = {
enable = true,
additional_vim_regex_highlighting = false,
},
}
end
}