From 6bbf837c9f4bc5e50f241b3439f8b76c76f878e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ellis=20Keny=C5=91?= Date: Wed, 6 Apr 2022 08:18:07 +0100 Subject: [PATCH] fix(graphql): remove *Messages* spam The faces were defined wrong, so every time a buffer came into focus, it would spam *Messages*. --- modules/lang/graphql/config.el | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/modules/lang/graphql/config.el b/modules/lang/graphql/config.el index e63865064..3fef3b415 100644 --- a/modules/lang/graphql/config.el +++ b/modules/lang/graphql/config.el @@ -5,15 +5,14 @@ '((t (:foreground "#E10098"))) "Face for GraphQL icon." :group 'all-the-icons-faces) - ;; Define a doom-modeline compatiable major-mode icon (after! all-the-icons (setf (alist-get "graphql" all-the-icons-extension-icon-alist) - '(all-the-icons-fileicon "graphql" :v-adjust -0.05 :face 'all-the-icons-rhodamine)) + '(all-the-icons-fileicon "graphql" :v-adjust -0.05 :face all-the-icons-rhodamine)) (setf (alist-get "gql" all-the-icons-extension-icon-alist) - '(all-the-icons-fileicon "graphql" :v-adjust -0.05 :face 'all-the-icons-rhodamine)) + '(all-the-icons-fileicon "graphql" :v-adjust -0.05 :face all-the-icons-rhodamine)) (setf (alist-get 'graphql-mode all-the-icons-mode-icon-alist) - '(all-the-icons-fileicon "graphql" :v-adjust -0.05 :face 'all-the-icons-rhodamine))) + '(all-the-icons-fileicon "graphql" :v-adjust -0.05 :face all-the-icons-rhodamine))) (if (featurep! +lsp) (add-hook 'graphql-mode-local-vars-hook #'lsp! 'append) (set-company-backend! 'graphql-mode 'company-graphql))