branch: elpa/haskell-tng-mode commit 3b7cd021381f509d3030563a18559a998033a04d Author: Tseen She <ts33n....@gmail.com> Commit: Tseen She <ts33n....@gmail.com>
some todos --- README.md | 2 +- haskell-tng-font-lock.el | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 96c439d..2ecc458 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ In [Lessons from 6 Software Rewrites](https://medium.com/@herbcaudill/lessons-fr ### Different Approach -During those past 30 years, the GNU Emacs ecosystem has evolved to provide many features that `haskell-mode` independently implemented, such as [`projectile`](https://github.com/bbatsov/projectile), [`comint`](https://masteringemacs.org/article/comint-writing-command-interpreter), [`highlight-symbol`](https://melpa.org/##/highlight-symbol), [`pretty-symbols`](https://github.com/drothlis/pretty-symbols), [`company`](http://company-mode.github.io), [`yasnippet`](http://joaotavora.github.io [...] +During those past 30 years, the GNU Emacs ecosystem has evolved to provide many features that `haskell-mode` independently implemented, such as [`projectile`](https://github.com/bbatsov/projectile), [`comint`](https://masteringemacs.org/article/comint-writing-command-interpreter), [`highlight-symbol`](https://melpa.org/##/highlight-symbol), [`pretty-symbols`](https://github.com/drothlis/pretty-symbols), [`company`](http://company-mode.github.io), [`yasnippet`](http://joaotavora.github.io [...] We choose to use idiomatic libraries to provide features, rather than building ground-up solutions. diff --git a/haskell-tng-font-lock.el b/haskell-tng-font-lock.el index 008e247..8dd775f 100644 --- a/haskell-tng-font-lock.el +++ b/haskell-tng-font-lock.el @@ -104,6 +104,8 @@ (1 'haskell-tng:keyword keep) (2 'haskell-tng:type keep)) + ;; TODO CPP #ifdef would be nice + ;; EXT:TypeApplications: It is not easy to disambiguate between type ;; applications and value extractor in a pattern. Needs work. ;; (,(rx-to-string `(: symbol-start "@" (* space) @@ -139,6 +141,7 @@ ;; EXT:ExplicitNamespaces ) + ;; TODO module defn with explicit exports have wrong face (Constructor) for final part (haskell-tng:font:module:keyword (,(rx-to-string `(: word-start "module" word-end (+ space) (group symbol-start (* ,conid ".") ,conid symbol-end)))