D17951: Haskell: Make = a special symbol

2019-01-08 Thread Li-yao Xia
xialiyao updated this revision to Diff 49016.
xialiyao added a comment.


  Bumped version number

REPOSITORY
  R216 Syntax Highlighting

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D17951?vs=48642=49016

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D17951

AFFECTED FILES
  autotests/html/highlight.hs.html
  autotests/html/highlight.lhs.html
  autotests/reference/highlight.hs.ref
  autotests/reference/highlight.lhs.ref
  data/syntax/haskell.xml

To: xialiyao, #framework_syntax_highlighting, dhaumann, cullmann
Cc: kwrite-devel, kde-frameworks-devel, hase, michaelh, ngraham, bruns, 
demsking, cullmann, sars, dhaumann


D17939: Haskell: Highlight empty comments after 'import'

2019-01-03 Thread Li-yao Xia
xialiyao added a comment.


  Thanks a lot for the tip!

REPOSITORY
  R216 Syntax Highlighting

REVISION DETAIL
  https://phabricator.kde.org/D17939

To: xialiyao, dhaumann
Cc: dhaumann, kwrite-devel, kde-frameworks-devel, hase, michaelh, ngraham, 
bruns, demsking, cullmann, sars


D17951: Haskell: Make = a special symbol

2019-01-03 Thread Li-yao Xia
xialiyao created this revision.
Herald added projects: Kate, Frameworks.
Herald added subscribers: kde-frameworks-devel, kwrite-devel.
xialiyao requested review of this revision.

REVISION SUMMARY
  It was previously parsed as an operator, but it's much less of one than even 
`=>` or `->`.

REPOSITORY
  R216 Syntax Highlighting

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D17951

AFFECTED FILES
  autotests/html/highlight.hs.html
  autotests/html/highlight.lhs.html
  autotests/reference/highlight.hs.ref
  autotests/reference/highlight.lhs.ref
  data/syntax/haskell.xml

To: xialiyao
Cc: kwrite-devel, kde-frameworks-devel, hase, michaelh, ngraham, bruns, 
demsking, cullmann, sars, dhaumann


D17939: Haskell: Highlight empty comments after 'import'

2019-01-03 Thread Li-yao Xia
xialiyao updated this revision to Diff 48605.
xialiyao added a comment.


  Added tests and bumped haskell.xml version

REPOSITORY
  R216 Syntax Highlighting

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D17939?vs=48594=48605

BRANCH
  import-comment

REVISION DETAIL
  https://phabricator.kde.org/D17939

AFFECTED FILES
  autotests/folding/highlight.hs.fold
  autotests/html/highlight.hs.html
  autotests/input/highlight.hs
  autotests/reference/highlight.hs.ref
  data/syntax/haskell.xml

To: xialiyao
Cc: dhaumann, kwrite-devel, kde-frameworks-devel, hase, michaelh, ngraham, 
bruns, demsking, cullmann, sars


D17939: Haskell: Highlight empty comments after 'import'

2019-01-03 Thread Li-yao Xia
xialiyao added a comment.


  Should I add a test for it?

REPOSITORY
  R216 Syntax Highlighting

REVISION DETAIL
  https://phabricator.kde.org/D17939

To: xialiyao
Cc: kwrite-devel, kde-frameworks-devel, hase, michaelh, ngraham, bruns, 
demsking, cullmann, sars, dhaumann


D17939: Haskell: Highlight empty comments after 'import'

2019-01-03 Thread Li-yao Xia
xialiyao created this revision.
Herald added projects: Kate, Frameworks.
Herald added subscribers: kde-frameworks-devel, kwrite-devel.
xialiyao requested review of this revision.

REVISION SUMMARY
In the following snippet,

import Bar ()  --

the trailing, empty comment did not get highlighted.

REPOSITORY
  R216 Syntax Highlighting

BRANCH
  import-comment

REVISION DETAIL
  https://phabricator.kde.org/D17939

AFFECTED FILES
  data/syntax/haskell.xml

To: xialiyao
Cc: kwrite-devel, kde-frameworks-devel, hase, michaelh, ngraham, bruns, 
demsking, cullmann, sars, dhaumann


D13370: haskell.xml: add keywords family, forall, pattern

2018-07-08 Thread Li-yao Xia
xialiyao added a comment.


  Sure thing, I can add some description next time. Thanks for the reviews!

REPOSITORY
  R216 Syntax Highlighting

REVISION DETAIL
  https://phabricator.kde.org/D13370

To: xialiyao, #framework_syntax_highlighting, dhaumann
Cc: dhaumann, kde-frameworks-devel, michaelh, ngraham, bruns


D13386: haskell.xml: remove types from "prelude function" section

2018-07-04 Thread Li-yao Xia
xialiyao added a reviewer: Framework: Syntax Highlighting.

REPOSITORY
  R216 Syntax Highlighting

REVISION DETAIL
  https://phabricator.kde.org/D13386

To: xialiyao, #framework_syntax_highlighting
Cc: kde-frameworks-devel, michaelh, ngraham, bruns


D13373: haskell.xml: highlight promoted data constructors

2018-07-04 Thread Li-yao Xia
xialiyao added a reviewer: Framework: Syntax Highlighting.

REPOSITORY
  R216 Syntax Highlighting

REVISION DETAIL
  https://phabricator.kde.org/D13373

To: xialiyao, #framework_syntax_highlighting
Cc: kde-frameworks-devel, michaelh, ngraham, bruns


D13370: haskell.xml: add keywords family, forall, pattern

2018-07-04 Thread Li-yao Xia
xialiyao added a reviewer: Framework: Syntax Highlighting.

REPOSITORY
  R216 Syntax Highlighting

REVISION DETAIL
  https://phabricator.kde.org/D13370

To: xialiyao, #framework_syntax_highlighting
Cc: kde-frameworks-devel, michaelh, ngraham, bruns


D13386: haskell.xml: remove types from "prelude function" section

2018-06-06 Thread Li-yao Xia
xialiyao created this revision.
Restricted Application added a project: Frameworks.
Restricted Application added a subscriber: kde-frameworks-devel.
xialiyao requested review of this revision.

REPOSITORY
  R216 Syntax Highlighting

BRANCH
  haskell-remove-nonsense

REVISION DETAIL
  https://phabricator.kde.org/D13386

AFFECTED FILES
  autotests/folding/highlight.hs.fold
  autotests/html/highlight.hs.html
  autotests/html/highlight.lhs.html
  autotests/input/highlight.hs
  autotests/reference/highlight.hs.ref
  autotests/reference/highlight.lhs.ref
  data/syntax/haskell.xml

To: xialiyao
Cc: kde-frameworks-devel, michaelh, ngraham, bruns


D13380: haskell.xml: don't highlight Prelude data constructors differently from others

2018-06-06 Thread Li-yao Xia
xialiyao updated this revision to Diff 35703.
xialiyao added a comment.


  Apply similar change to class names

REPOSITORY
  R216 Syntax Highlighting

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D13380?vs=35684=35703

BRANCH
  haskell-data-prelude

REVISION DETAIL
  https://phabricator.kde.org/D13380

AFFECTED FILES
  autotests/html/highlight.hs.html
  autotests/html/highlight.lhs.html
  data/syntax/haskell.xml

To: xialiyao
Cc: kde-frameworks-devel, michaelh, ngraham, bruns


D13380: haskell.xml: don't highlight Prelude data constructors differently from others

2018-06-06 Thread Li-yao Xia
xialiyao created this revision.
Restricted Application added a project: Frameworks.
Restricted Application added a subscriber: kde-frameworks-devel.
xialiyao requested review of this revision.

REPOSITORY
  R216 Syntax Highlighting

BRANCH
  haskell-data-prelude

REVISION DETAIL
  https://phabricator.kde.org/D13380

AFFECTED FILES
  autotests/html/highlight.hs.html
  autotests/html/highlight.lhs.html
  data/syntax/haskell.xml

To: xialiyao
Cc: kde-frameworks-devel, michaelh, ngraham, bruns


D13373: haskell.xml: highlight promoted data constructors

2018-06-05 Thread Li-yao Xia
xialiyao created this revision.
Restricted Application added a project: Frameworks.
Restricted Application added a subscriber: kde-frameworks-devel.
xialiyao requested review of this revision.

REPOSITORY
  R216 Syntax Highlighting

BRANCH
  haskell-promoted-types

REVISION DETAIL
  https://phabricator.kde.org/D13373

AFFECTED FILES
  autotests/folding/highlight.hs.fold
  autotests/html/highlight.hs.html
  autotests/input/highlight.hs
  autotests/reference/highlight.hs.ref
  data/syntax/haskell.xml

To: xialiyao
Cc: kde-frameworks-devel, michaelh, ngraham, bruns


D13370: haskell.xml: add keywords family, forall, pattern

2018-06-05 Thread Li-yao Xia
xialiyao created this revision.
Restricted Application added a project: Frameworks.
Restricted Application added a subscriber: kde-frameworks-devel.
xialiyao requested review of this revision.

REPOSITORY
  R216 Syntax Highlighting

BRANCH
  haskell-keywords

REVISION DETAIL
  https://phabricator.kde.org/D13370

AFFECTED FILES
  autotests/folding/highlight.hs.fold
  autotests/html/highlight.hs.html
  autotests/input/highlight.hs
  autotests/reference/highlight.hs.ref
  data/syntax/haskell.xml

To: xialiyao
Cc: kde-frameworks-devel, michaelh, ngraham, bruns