blob: aa873f97b1f5a3d5633fa48f374d674cf81058cc (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
;;; init-go.el --- configure go language support -*- lexical-binding:t -*-
;;; Commentary:
;;; Code:
(defun mpolden/go-mode-buffer-local-variables ()
"Set buffer-local variables for `go-mode'."
(setq-local fill-column 120
compile-command "go test "))
(use-package go-mode
:ensure t
:mode ("\\.go\\'" . go-mode)
:hook (go-mode . mpolden/go-mode-buffer-local-variables))
(provide 'init-go)
;;; init-go.el ends here
|