From fec0d3c20d29ac7a15f504843b778610e2084786 Mon Sep 17 00:00:00 2001 From: Benjamin VAUDOUR <60374-benjamin.vaudour@users.noreply.framagit.org> Date: Fri, 15 Sep 2023 10:39:25 +0200 Subject: [PATCH] tree completion: completion of the filenames --- completion/tree.elv | 1 + 1 file changed, 1 insertion(+) diff --git a/completion/tree.elv b/completion/tree.elv index 6a832ed..f4d148a 100644 --- a/completion/tree.elv +++ b/completion/tree.elv @@ -9,6 +9,7 @@ set edit:completion:arg-completer[tree] = {|@words| fn cand {|text desc| edit:complex-candidate $text &display=$text' '(spaces (- 14 (wcswidth $text)))$desc } + edit:complete-filename $@words var command = 'et' for word $words[1..-1] { if (str:has-prefix $word '-') {