about summary refs log tree commit diff
path: root/emacs/default.nix
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-02-05T17·55+0000
committerWilliam Carroll <wpcarro@gmail.com>2020-02-05T17·58+0000
commit05135ef875497b9699c393f9ab7ac99c4c523827 (patch)
treec8a8372419bd9661527a87b5905a3bfe4a52c086 /emacs/default.nix
parent7c2933f3c3812215b6587bdda8c01268c6450d16 (diff)
Further configure Go tooling
- Prefer goimports to gofmt. goimports calls gofmt; it also adds and removes
  dependencies.
- Assert the presence of goimports, godoc, godef
- KBD godef to M-.
- Support the M-x compile command for calling `go build -v`
Diffstat (limited to 'emacs/default.nix')
-rw-r--r--emacs/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/emacs/default.nix b/emacs/default.nix
index 18d9f2cc61f3..24496bccc1e5 100644
--- a/emacs/default.nix
+++ b/emacs/default.nix
@@ -56,6 +56,7 @@ let
       py-yapf
       reason-mode
       elixir-mode
+      go-mode
       company
       markdown-mode
       refine