This commit is contained in:
Zef Hemel
2024-02-23 13:50:59 +01:00
parent c307f09b7e
commit cc4f9d017c
+1 -1
View File
@@ -2,7 +2,7 @@ import { system } from "$sb/syscalls.ts";
import { CompleteEvent } from "$type/types.ts";
export async function commandComplete(completeEvent: CompleteEvent) {
const match = /\{\[([^\]]*)$/.exec(completeEvent.linePrefix);
const match = /\{\[([^\]\[]*)$/.exec(completeEvent.linePrefix);
if (!match) {
return null;