fix for treesitter not loading on creating new file
This commit is contained in:
parent
5ec6112a59
commit
1777be0064
|
@ -65,7 +65,7 @@ local plugins = {
|
||||||
|
|
||||||
{
|
{
|
||||||
"nvim-treesitter/nvim-treesitter",
|
"nvim-treesitter/nvim-treesitter",
|
||||||
event = "BufRead",
|
event = {"BufRead", "BufNewFile"},
|
||||||
config = override_req("nvim_treesitter", "plugins.configs.treesitter", "setup"),
|
config = override_req("nvim_treesitter", "plugins.configs.treesitter", "setup"),
|
||||||
run = ":TSUpdate",
|
run = ":TSUpdate",
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue