MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / isSkipContext

Function isSkipContext

src/cm/rainbowBrackets.ts:107–116  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

105}
106
107function isSkipContext(name: string): boolean {
108 const lower = name.toLowerCase();
109 return (
110 lower.includes("string") ||
111 lower.includes("comment") ||
112 lower.includes("regexp") ||
113 lower.includes("regex") ||
114 lower.includes("regular")
115 );
116}
117
118function buildTheme(colors: readonly string[]) {
119 const themeSpec: Record<string, { color: string }> = {};

Callers 1

enterMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected