Changeset View
Changeset View
Standalone View
Standalone View
data/syntax/haskell.xml
Show First 20 Lines • Show All 465 Lines • ▼ Show 20 Line(s) | 459 | <context attribute="Normal" lineEndContext="#stay" name="code"> | |||
---|---|---|---|---|---|
466 | <DetectChar attribute="C Preprocessor" context="C Preprocessor" char="#" column="0"/> | 466 | <DetectChar attribute="C Preprocessor" context="C Preprocessor" char="#" column="0"/> | ||
467 | 467 | | |||
468 | <keyword attribute="Keyword" context="#stay" String="keywords" /> | 468 | <keyword attribute="Keyword" context="#stay" String="keywords" /> | ||
469 | <keyword attribute="Function Prelude" context="#stay" String="prelude function" /> | 469 | <keyword attribute="Function Prelude" context="#stay" String="prelude function" /> | ||
470 | <keyword attribute="Type Prelude" context="#stay" String="prelude type" /> | 470 | <keyword attribute="Type Prelude" context="#stay" String="prelude type" /> | ||
471 | <keyword attribute="Data Prelude" context="#stay" String="prelude data" /> | 471 | <keyword attribute="Data Prelude" context="#stay" String="prelude data" /> | ||
472 | <keyword attribute="Class Prelude" context="#stay" String="prelude class" /> | 472 | <keyword attribute="Class Prelude" context="#stay" String="prelude class" /> | ||
473 | 473 | | |||
474 | <RegExpr attribute="Special" context="#stay" String="(::|=>|\->|<\-)" /> | 474 | <RegExpr attribute="Special" context="#stay" String="(::|=>|\->|<\-|=)(?![\-!#\$%&\*\+/<=>\?\@\^\|~\.:])" /> | ||
475 | <AnyChar attribute="Special" context="#stay" String="∷⇒→←∀∃" /> | 475 | <AnyChar attribute="Special" context="#stay" String="∷⇒→←∀∃" /> | ||
476 | <RegExpr attribute="Signature" context="#stay" String="\s*[a-z_][a-zA-Z0-9_']*\s*(?=::([^\-!#\$%&\*\+/<=>\?\@\^\|~\.:]|$))" /> | 476 | <RegExpr attribute="Signature" context="#stay" String="\s*[a-z_][a-zA-Z0-9_']*\s*(?=::([^\-!#\$%&\*\+/<=>\?\@\^\|~\.:]|$))" /> | ||
477 | <RegExpr attribute="Signature" context="#stay" String="\s*(\([\-!#\$%&\*\+/<=>\?\@\^\|~\.:]*\))*\s*(?=::[^\-!#\$%&\*\+/<=>\?\@\^\|~\.:])" /> | 477 | <RegExpr attribute="Signature" context="#stay" String="\s*(\([\-!#\$%&\*\+/<=>\?\@\^\|~\.:]*\))*\s*(?=::[^\-!#\$%&\*\+/<=>\?\@\^\|~\.:])" /> | ||
478 | <RegExpr attribute="Function" context="#stay" String="([A-Z][a-zA-Z0-9_']*\.)*[a-z_][a-zA-Z0-9_']*" /> | 478 | <RegExpr attribute="Function" context="#stay" String="([A-Z][a-zA-Z0-9_']*\.)*[a-z_][a-zA-Z0-9_']*" /> | ||
479 | <RegExpr attribute="Operator" context="#stay" String="([A-Z][a-zA-Z0-0_']*\.)*[\-!#\$%&\*\+/<=>\?\@\^\|~\.:]+" /> | 479 | <RegExpr attribute="Operator" context="#stay" String="([A-Z][a-zA-Z0-0_']*\.)*[\-!#\$%&\*\+/<=>\?\@\^\|~\.:]+" /> | ||
480 | <RegExpr attribute="Type" context="#stay" String="([A-Z][a-zA-Z0-9_']*\.)*[A-Z][a-zA-Z0-9_']*" /> | 480 | <RegExpr attribute="Type" context="#stay" String="([A-Z][a-zA-Z0-9_']*\.)*[A-Z][a-zA-Z0-9_']*" /> | ||
481 | <RegExpr attribute="Type" context="#stay" String="'(?![A-Z]')([A-Z][a-zA-Z0-9_']*\.)*[A-Z][a-zA-Z0-9_']*" /> | 481 | <RegExpr attribute="Type" context="#stay" String="'(?![A-Z]')([A-Z][a-zA-Z0-9_']*\.)*[A-Z][a-zA-Z0-9_']*" /> | ||
482 | 482 | | |||
▲ Show 20 Lines • Show All 167 Lines • Show Last 20 Lines |