diff options
| author | Johannes Altmanninger <aclopte@gmail.com> | 2024-10-05 17:42:00 +0200 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2024-10-22 08:15:59 +1100 |
| commit | 063c35222bd84530e8b242d3979a1c6cdee2773b (patch) | |
| tree | 0977dc89ad29270341abfb1d21b00d7d3f8c845b | |
| parent | 5e0f9a2ce0377d8b5aba71f2916a30257221bac8 (diff) | |
rc ctags: remove obsolete -markup switch
menu no longer supports the -markup switch since 1f1152983 (rc
tools menu: replace menu builtin with a prompt-based implementation,
2023-11-20). That commit removed all markup that ctags passes to menu
but didn't bother to remove -markup switch (because it's ignored).
Let's remove the switch to avoid the need for escaping "{".
Closes #5244
| -rw-r--r-- | rc/tools/ctags.kak | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rc/tools/ctags.kak b/rc/tools/ctags.kak index 9ad9cbbd..e18729d0 100644 --- a/rc/tools/ctags.kak +++ b/rc/tools/ctags.kak @@ -60,7 +60,7 @@ define-command -params ..1 \ line_number = $3; out = out "%!" menu_item ": " menu_info "! %!evaluate-commands %# try %& edit -existing %|" edit_path "|; execute-keys %|" line_number "gx| & catch %& fail unable to find tag &; try %& execute-keys %|s\\Q" select "<ret>| & # !" } - END { print ( length(out) == 0 ? "fail no such tag " ENVIRON["tagname"] : "menu -markup -auto-single " out ) } + END { print ( length(out) == 0 ? "fail no such tag " ENVIRON["tagname"] : "menu -auto-single " out ) } # Ensure x is an absolute file path, by prepending with tagroot function path(x) { return x ~/^\// ? x : tagroot x }' ]] |
