From 5396fa198f4cbe31cb2763f36b6aa2cce9b86953 Mon Sep 17 00:00:00 2001 From: bhagwan Date: Thu, 23 Dec 2021 13:53:06 -0800 Subject: [PATCH] ctags: do not ignore '$' at the end of the pattern (revisit #219) --- lua/fzf-lua/path.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/fzf-lua/path.lua b/lua/fzf-lua/path.lua index f0ac689..e513ee8 100644 --- a/lua/fzf-lua/path.lua +++ b/lua/fzf-lua/path.lua @@ -140,7 +140,7 @@ end function M.entry_to_ctag(entry) local scode = entry:match("%:.-/^?\t?(.*)/") if scode then - scode = string.gsub(scode, "[$]$", "") + -- scode = string.gsub(scode, "[$]$", "") scode = string.gsub(scode, [[\\]], [[\]]) scode = string.gsub(scode, [[\/]], [[/]]) scode = string.gsub(scode, "[*]", [[\*]])