From 427153b8e9a36d79170422ef78fd353b3622c7df Mon Sep 17 00:00:00 2001 From: Andrey Orst Date: Mon, 12 Aug 2019 22:18:26 +0300 Subject: [PATCH] remove wrong '+' from awk regex --- rc/tools/ctags.kak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc/tools/ctags.kak b/rc/tools/ctags.kak index eaf927402..4f9103ae4 100644 --- a/rc/tools/ctags.kak +++ b/rc/tools/ctags.kak @@ -43,7 +43,7 @@ If no symbol is passed then the current selection is used as symbol name} \ /^!TAGROOT\t/ { tagroot=$2 } /[^\t]+\t[^\t]+\t\/\^.*\$?\// { line = $0; sub(".*\t/\\^", "", line); sub("\\$?/$", "", line); - menu_info = line; gsub("!", "!!", menu_info); gsub(/^[\t+ ]+/, "", menu_info); gsub("{", "\\{", menu_info); gsub(/\t/, " ", menu_info); + menu_info = line; gsub("!", "!!", menu_info); gsub(/^[\t ]+/, "", menu_info); gsub("{", "\\{", menu_info); gsub(/\t/, " ", menu_info); keys = line; gsub(/", keys); gsub(/\t/, "", keys); gsub("!", "!!", keys); gsub("&", "&&", keys); gsub("#", "##", keys); gsub("\\|", "||", keys); gsub("\\\\/", "/", keys); menu_item = $2; gsub("!", "!!", menu_item); edit_path = path($2); gsub("&", "&&", edit_path); gsub("#", "##", edit_path); gsub("\\|", "||", edit_path);