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