feat: fixed treesitter loading
parent
5dc7a83abe
commit
6e81da9740
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue