branch: elpa/graphql-mode
commit 347431ce18c81f286c0932bbe84f285eea174317
Author: David Vazquez Pua <[email protected]>
Commit: David Vazquez Pua <[email protected]>

    Fontify fragments
---
 graphql.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/graphql.el b/graphql.el
index 884eeede23..a1dc0ff4ac 100644
--- a/graphql.el
+++ b/graphql.el
@@ -60,7 +60,7 @@
       (2 font-lock-function-name-face)))
 
     ;; Definitions
-    (,(concat "\\(" (regexp-opt '("input" "interface")) "\\)"
+    (,(concat "\\(" (regexp-opt '("input" "interface" "fragment")) "\\)"
               "[[:space:]]+\\(\\w+\\)")
      (1 font-lock-keyword-face)
      (2 font-lock-function-name-face))

Reply via email to