MCPcopy Create free account
hub / github.com/anus-dev/ANUS / isCombiningMark

Function isCombiningMark

packages/cli/src/ui/components/shared/text-buffer.ts:45–45  ·  view source on GitHub ↗
(char: string)

Source from the content-addressed store, hash-verified

43
44// Check if a character is a combining mark (only diacritics for now)
45export const isCombiningMark = (char: string): boolean => /\p{M}/u.test(char);
46
47// Check if a character should be considered part of a word (including combining marks)
48export const isWordCharWithCombining = (char: string): boolean =>

Callers 3

isWordCharWithCombiningFunction · 0.85
isAtEndOfBaseWordFunction · 0.85
handleVimActionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected