branch: elpa/haskell-ts-mode
commit b7db74c7fe967bcd0653bb5b9bbe4c3f1b5fed31
Author: Pranshu Sharma <[email protected]>
Commit: Pranshu Sharma <[email protected]>

    Added family keyword
    
    Was thinking of highlighting the class of the name in class
    declerations, but doesn't make sense since techinclly a class isn't a
    type.  Maybe we need a class face
---
 haskell-ts-mode.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/haskell-ts-mode.el b/haskell-ts-mode.el
index e417435dda1..9aab0b62dea 100644
--- a/haskell-ts-mode.el
+++ b/haskell-ts-mode.el
@@ -129,7 +129,7 @@ when `haskell-ts-prettify-words' is non-nil.")
   (treesit-font-lock-rules
    :language 'haskell
    :feature 'keyword
-   `(["module" "import" "data" "let" "where" "case" "type"
+   `(["module" "import" "data" "let" "where" "case" "type" "family"
       "if" "then" "else" "of" "do" "in" "instance" "class" "newtype"]
      @font-lock-keyword-face)
    :language 'haskell

Reply via email to