Fixes #701
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user