refactor(nvim): load treesitter on WinLeave

This commit is contained in:
Price Hiller 2023-08-19 05:20:15 -05:00
parent 8b6014a04b
commit 90cda56495
Signed by: Price
SSH Key Fingerprint: SHA256:Y4S9ZzYphRn1W1kbJerJFO6GGsfu9O70VaBSxJO7dF8

View File

@ -98,7 +98,7 @@ return {
{ {
"nvim-treesitter/nvim-treesitter", "nvim-treesitter/nvim-treesitter",
build = ":TSUpdate", build = ":TSUpdate",
event = { "BufReadPre", "BufNewFile" }, event = { "BufReadPre", "BufNewFile", "WinLeave" },
dependencies = { dependencies = {
"nvim-treesitter/playground", "nvim-treesitter/playground",
{ {