about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2020-06-18T01·42+0100
committerVincent Ambo <mail@tazj.in>2020-06-18T01·42+0100
commit5290c9f59c6412d5f54a26e564b090af76902e4b (patch)
treeb0b393fcb59e687284fd07ee777033f74aca0d6d
parent2183cfe5de3adf2bc50d570704f6b94dcd00a7af (diff)
feat(tools/emacs): Enable go-mode in .go2-files r/1019
Change-Id: I03cf0641b22828eb400b9220e0756d9b7aca01cd
-rw-r--r--tools/emacs/config/modes.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/emacs/config/modes.el b/tools/emacs/config/modes.el
index 8d47f2f9a5..69fb523d0d 100644
--- a/tools/emacs/config/modes.el
+++ b/tools/emacs/config/modes.el
@@ -31,6 +31,7 @@
 ;; Transparently open compressed files
 (auto-compression-mode t)
 
-;; Show available key chord completions
+;; Configure go-mode for Go2 Alpha
+(add-to-list 'auto-mode-alist '("\\.go2$" . go-mode))
 
 (provide 'modes)