From 41f362006bbe1412ecbe7253d022cceece4e9472 Mon Sep 17 00:00:00 2001 From: Simon Hauser Date: Sun, 26 Sep 2021 12:56:06 +0200 Subject: fix: tags now also support suppercollider tags (#1284) --- lua/telescope/make_entry.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lua/telescope/make_entry.lua') diff --git a/lua/telescope/make_entry.lua b/lua/telescope/make_entry.lua index 917b6f8..eaab12e 100644 --- a/lua/telescope/make_entry.lua +++ b/lua/telescope/make_entry.lua @@ -903,7 +903,7 @@ function make_entry.gen_from_ctags(opts) local tag, file, scode, lnum -- ctags gives us: 'tags\tfile\tsource' - tag, file, scode = string.match(line, '([^\t]+)\t([^\t]+)\t/^\t?(.*)/;"\t+.*') + tag, file, scode = string.match(line, '([^\t]+)\t([^\t]+)\t/^?\t?(.*)/;"\t+.*') if not tag then -- hasktags gives us: 'tags\tfile\tlnum' tag, file, lnum = string.match(line, "([^\t]+)\t([^\t]+)\t(%d+).*") -- cgit v1.2.3