Skip to content

Commit 27db8f3

Browse files
committed
Autocomplete ac with glob or regex match
1 parent a0168dd commit 27db8f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ari.goal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ json.tbl:{ / table from parsing json array of like objects
3838
?[istbl x;:x;:error"dict is not a table: $x"]
3939
[ks:!*x; vs:@[;ks]'x; ks!+vs]]}
4040
/ Interactive Tools
41-
ac:{[s] gs:!rt.get"g"; r:rx s; ms:(..p.r@'p.gs)#gs; ms@<_ms } / auto-complete
41+
ac:{gs:,/rtnames"";ms:?["s"=@x;(..p.x%p.gs)#gs;[(..p.x@p.gs)#gs]]; ms@<_ms } / auto-complete
4242
/ Test Framework
4343
tt.suite:"global"; tt.suitestate:..[es:();fs:();ps:();ss:()]; tt.state:..[global:tt.suitestate]
4444
tt.st:tt.state; tt.ffast:0; tt.clear:{tt.st::tt.state}

0 commit comments

Comments
 (0)