diff --git a/src/cli/completions/directive-scanner.ts b/src/cli/completions/directive-scanner.ts index 5b4f895..49284a0 100644 --- a/src/cli/completions/directive-scanner.ts +++ b/src/cli/completions/directive-scanner.ts @@ -208,16 +208,8 @@ export function scanDirectives( const [, headerRow, separatorRow, bodyRowsText] = mdMatch; const headers = splitTableRow(headerRow); - // Check if this is a spark-shaped table: first column is a dice formula - // and one of the headers is a label marker - const isSpark = - DICE_HEADER_RE.test(headers[0]) && - headers.some( - (h) => - h === "label" || - h === "md-table-label" || - h === "md-roll-label", - ); + // Check if this looks like a spark table: first column is a dice formula + const isSpark = DICE_HEADER_RE.test(headers[0]); if (!isSpark) continue;