fix for treesitter not loading on creating new file

This commit is contained in:
zbirenbaum 2022-02-28 04:40:14 -05:00 committed by siduck
parent 5ec6112a59
commit 1777be0064

View File

@ -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",
}, },