Skip to content

Commit 91763dd

Browse files
authored
fix: exclusion for nonbreakable whitespace chars (#1091)
originally by @PascalSenn in graphql/graphql-language-service#220 - fixes `Mode graphql failed to advance stream` upstream - same bug we worked around in GraphiQL or graphql-cm? months ago. - still impacts the whole LSP Created-By: @PascalSenn
1 parent 59c42a8 commit 91763dd

File tree

1 file changed

+2
-1
lines changed
  • packages/graphql-language-service-parser/src

1 file changed

+2
-1
lines changed

packages/graphql-language-service-parser/src/Rules.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ export const isIgnored = (ch: string) =>
2626
ch === ',' ||
2727
ch === '\n' ||
2828
ch === '\r' ||
29-
ch === '\uFEFF';
29+
ch === '\uFEFF' ||
30+
ch === '\u00A0';
3031

3132
/**
3233
* The lexer rules. These are exactly as described by the spec.

0 commit comments

Comments
 (0)