Skip to content

Commit e20ff8e

Browse files
Fix highlighting of [@bs.as]. Fixes #396. (#397)
1 parent a3c3453 commit e20ff8e

File tree

1 file changed

+1
-1
lines changed
  • editor-extensions/vscode/src/syntaxes

1 file changed

+1
-1
lines changed

editor-extensions/vscode/src/syntaxes/ocaml.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ export class OCaml implements basis.ILanguage {
300300
group(
301301
alt(
302302
...Object.keys(Token)
303-
.filter(key => key !== "LOW_LINE" && key !== "NEW" && key !== "MODULE")
303+
.filter(key => key !== "LOW_LINE" && key !== "NEW" && key !== "MODULE" && key !== "AS")
304304
.map(key => (Token as any)[key]),
305305
),
306306
),

0 commit comments

Comments
 (0)