[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/go-mode 60dec2c 126/495: add godef documentation
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/go-mode 60dec2c 126/495: add godef documentation |
Date: |
Sat, 7 Aug 2021 09:04:57 -0400 (EDT) |
branch: elpa/go-mode
commit 60dec2cc798cbbfa0cb97db987535926f9e5be75
Author: Dominik Honnef <dominikh@fork-bomb.org>
Commit: Dominik Honnef <dominikh@fork-bomb.org>
add godef documentation
---
go-mode.el | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/go-mode.el b/go-mode.el
index 2952fc5..e164f49 100644
--- a/go-mode.el
+++ b/go-mode.el
@@ -358,12 +358,21 @@ The following extra functions are defined:
- `go-goto-imports'
- `go-play-buffer' and `go-play-region'
- `go-download-play'
+- `godef-describe' and `godef-jump'
If you want to automatically run `gofmt' before saving a file,
add the following hook to your emacs configuration:
\(add-hook 'before-save-hook 'gofmt-before-save)
+If you want to use godef instead of etags (or similar), consider
+binding godef-jump to `M-.', which is the default key for
+find-tag:
+
+\(add-hook 'go-mode-hook (lambda ()
+ (local-set-key (kbd \"M-.\") 'godef-jump)))
+
+
If you're looking for even more integration with Go, namely
on-the-fly syntax checking, auto-completion and snippets, it is
recommended that you look at goflymake
- [nongnu] elpa/go-mode 4637dd6 110/495: Mention gofmt rewrite in README, (continued)
- [nongnu] elpa/go-mode 4637dd6 110/495: Mention gofmt rewrite in README, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode d910a0d 112/495: Make _ a word constituent to accomodate inferiority of XEmacs, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode c1074a1 114/495: improve regexps for array, slice and map types, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode a88f1d5 115/495: add support for godef, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 4935203 117/495: add guidelines for contributions, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 0e5fd93 119/495: update LEGAL, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 92102a5 120/495: do not rely on find-lisp, xemacs doesn't have that, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode bb66ca4 122/495: xemacs comment handling, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 8476d21 123/495: provide alternative to syntax-ppss for older versions of xemacs, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 052a356 125/495: remove unused variables, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 60dec2c 126/495: add godef documentation,
ELPA Syncer <=
- [nongnu] elpa/go-mode dc68bd2 124/495: add a lot of compatibility for xemacs, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode b880a36 139/495: derive go-mode from prog-mode if possible, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 7411757 141/495: readme: move godef install instructions up to first mentioning of godef, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 41f8759 135/495: document line-offset in go--apply-rcs-patch, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 895b285 138/495: add customizable variable for mode hook, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode bf0bd30 144/495: Change the way we use prog-mode, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 2ec688b 143/495: kill gofmt errbuf if the buffer was already formatted, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 98e66f7 142/495: add docstring to go--apply-rcs-patch, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode fd03739 151/495: push mark to find-tag-marker-ring, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 4c13588 147/495: replace go-goto-opening-parenthesis implementation with backward-up-list, ELPA Syncer, 2021/08/07