From c2a0bb1684236e0bfbf43465ab1e22419debd98d Mon Sep 17 00:00:00 2001 From: Zhong Jianxin Date: Thu, 8 Jun 2023 09:42:21 +0800 Subject: [PATCH] telescope: Explicitly depend on nvim-treesitter Fix Telescope syntax highlighting is not working until open a file https://github.com/NvChad/NvChad/issues/2084 --- lua/plugins/init.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lua/plugins/init.lua b/lua/plugins/init.lua index 2e84b98..51b137d 100644 --- a/lua/plugins/init.lua +++ b/lua/plugins/init.lua @@ -233,6 +233,7 @@ local default_plugins = { { "nvim-telescope/telescope.nvim", + dependencies = "nvim-treesitter/nvim-treesitter", cmd = "Telescope", init = function() require("core.utils").load_mappings "telescope"