aboutsummaryrefslogtreecommitdiffstats
path: root/emacs-go-mode/init-go-mode.el
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2025-03-01 19:26:05 +0100
committerMattias Andrée <m@maandree.se>2025-03-01 19:26:05 +0100
commit2574c4cabc34756eb124e69d6a8e0ffeaa56a44f (patch)
tree0b6bc70a0d2bd5cb3879eb7b998b4ea17b053575 /emacs-go-mode/init-go-mode.el
parentm (diff)
downloaddotfiles-2574c4cabc34756eb124e69d6a8e0ffeaa56a44f.tar.gz
dotfiles-2574c4cabc34756eb124e69d6a8e0ffeaa56a44f.tar.bz2
dotfiles-2574c4cabc34756eb124e69d6a8e0ffeaa56a44f.tar.xz
...
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 'emacs-go-mode/init-go-mode.el')
-rw-r--r--emacs-go-mode/init-go-mode.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/emacs-go-mode/init-go-mode.el b/emacs-go-mode/init-go-mode.el
new file mode 100644
index 0000000..56e3c16
--- /dev/null
+++ b/emacs-go-mode/init-go-mode.el
@@ -0,0 +1,3 @@
+(add-to-list 'load-path "/usr/share/emacs/site-lisp/go-mode/")
+(autoload 'go-mode "go-mode" nil t)
+(add-to-list 'auto-mode-alist '("\\.go\\'" . go-mode))