MCPcopy Create free account
hub / github.com/cursorless-dev/cursorless / delimitersSelector

Function delimitersSelector

src/util/nodeSelectors.ts:221–223  ·  view source on GitHub ↗
(...delimiters: string[])

Source from the content-addressed store, hash-verified

219}
220
221export function delimitersSelector(...delimiters: string[]) {
222 return delimitedSelector((node) => delimiters.includes(node.type), ", ");
223}
224
225/**
226 * Creates a selector which can be used to automatically clean up after elements

Callers

nothing calls this directly

Calls 1

delimitedSelectorFunction · 0.85

Tested by

no test coverage detected