fix(graphql): remove *Messages* spam
The faces were defined wrong, so every time a buffer came into focus, it would spam *Messages*.
This commit is contained in:
parent
b42d7afd9a
commit
6bbf837c9f
1 changed files with 3 additions and 4 deletions
|
@ -5,15 +5,14 @@
|
||||||
'((t (:foreground "#E10098")))
|
'((t (:foreground "#E10098")))
|
||||||
"Face for GraphQL icon."
|
"Face for GraphQL icon."
|
||||||
:group 'all-the-icons-faces)
|
:group 'all-the-icons-faces)
|
||||||
|
|
||||||
;; Define a doom-modeline compatiable major-mode icon
|
;; Define a doom-modeline compatiable major-mode icon
|
||||||
(after! all-the-icons
|
(after! all-the-icons
|
||||||
(setf (alist-get "graphql" all-the-icons-extension-icon-alist)
|
(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)
|
(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)
|
(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)
|
(if (featurep! +lsp)
|
||||||
(add-hook 'graphql-mode-local-vars-hook #'lsp! 'append)
|
(add-hook 'graphql-mode-local-vars-hook #'lsp! 'append)
|
||||||
(set-company-backend! 'graphql-mode 'company-graphql))
|
(set-company-backend! 'graphql-mode 'company-graphql))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue