From 524c4eb7fb1a9941460ab7c7c09a3bca9cebb7be Mon Sep 17 00:00:00 2001 From: Simon Hauser Date: Thu, 7 Jul 2022 22:38:28 +0200 Subject: [PATCH] fix: more autocmds desc fixes (#2049) --- lua/telescope/make_entry.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lua/telescope/make_entry.lua b/lua/telescope/make_entry.lua index b567237..7f2484b 100644 --- a/lua/telescope/make_entry.lua +++ b/lua/telescope/make_entry.lua @@ -1178,9 +1178,12 @@ function make_entry.gen_from_autocommands(opts) return function(entry) local group_name = vim.F.if_nil(entry.group_name, "") local command = entry.command - if entry.desc and vim.startswith(command, "