emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/graphql-mode 7c37aee28b 096/122: Open .gql files automatic


From: ELPA Syncer
Subject: [nongnu] elpa/graphql-mode 7c37aee28b 096/122: Open .gql files automatically as well
Date: Sat, 29 Jan 2022 08:03:38 -0500 (EST)

branch: elpa/graphql-mode
commit 7c37aee28bf8c8ffb3da73df5571c4e1e352562b
Author: Xiang Ji <hi@xiangji.me>
Commit: David Vázquez Púa <davazp@gmail.com>

    Open .gql files automatically as well
---
 graphql-mode.el | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/graphql-mode.el b/graphql-mode.el
index ea64b085a4..2fb0c21c34 100644
--- a/graphql-mode.el
+++ b/graphql-mode.el
@@ -30,8 +30,8 @@
 ;; Additionally, it is able to
 ;;    - Sending GraphQL queries to an end-point URL
 ;;
-;; Files with the .graphql extension are automatically opened with
-;; this mode.
+;; Files with the .graphql and .gql extensions are automatically
+;; opened with this mode.
 
 
 ;;; Code:
@@ -404,6 +404,8 @@ This is the function to be used for the hook 
`completion-at-point-functions'."
 
 ;;;###autoload
 (add-to-list 'auto-mode-alist '("\\.graphql\\'" . graphql-mode))
+;;;###autoload
+(add-to-list 'auto-mode-alist '("\\.gql\\'" . graphql-mode))
 
 
 (provide 'graphql-mode)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]