highlightjs/highlight.js

(Haskell) GADT syntax highlighted incorrectly

Fermée

#3 753 ouverte le 11 avr. 2023

 (4 commentaires) (0 réaction) (0 personne assignée)JavaScript (3 497 forks)batch import
buggood first issuehelp welcomelanguage

Métriques du dépôt

Stars
 (22 960 étoiles)
Métriques de merge PR
 (Merge moyen 6m) (2 PRs mergées en 30 j)

Description

Describe the issue

The where keyword in the Haskell GADT syntax is not highlighted correctly

Which language seems to have the issue?

haskell

Are you using highlight or highlightAuto?

highlightElement

Sample Code to Reproduce

https://jsfiddle.net/8j5zb4ny/1/

Expected behavior

The where keyword at the end of the first line should get a different highlighting to show that it is not a type variable

Guide contributeur