[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/go-mode d9f0bee 232/495: add variable to customize godef c
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/go-mode d9f0bee 232/495: add variable to customize godef command |
Date: |
Sat, 7 Aug 2021 09:05:21 -0400 (EDT) |
branch: elpa/go-mode
commit d9f0beeba5092353e838fa57102ba1c9fc35b6f0
Author: Viacheslav Chimishuk <vchimishuk@yandex-team.ru>
Commit: Dominik Honnef <dominik@honnef.co>
add variable to customize godef command
---
AUTHORS | 1 +
go-mode.el | 7 ++++++-
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/AUTHORS b/AUTHORS
index c7462f2..37c8d16 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -23,4 +23,5 @@ Ryan Barrett <ryanb@google.com>
Sameer Ajmani <sameer@golang.org>
Scott Lawrence <bytbox@gmail.com>
Steven Elliot Harris <seharris@gmail.com>
+Viacheslav Chimishuk <vchimishuk@yandex-team.ru>
Yasuyuki Oka <yasuyk@gmail.com>
diff --git a/go-mode.el b/go-mode.el
index bf840b4..09408a8 100644
--- a/go-mode.el
+++ b/go-mode.el
@@ -204,6 +204,11 @@ a before-save-hook."
(const :tag "None" nil))
:group 'go)
+(defcustom godef-command "godef"
+ "The 'godef' command."
+ :type 'string
+ :group 'go)
+
(defcustom go-other-file-alist
'(("_test\\.go\\'" (".go"))
("\\.go\\'" ("_test.go")))
@@ -1321,7 +1326,7 @@ description at POINT."
(erase-buffer))
(call-process-region (point-min)
(point-max)
- "godef"
+ godef-command
nil
outbuf
nil
- [nongnu] elpa/go-mode 4acf733 468/495: Fully fontify type and const decls., (continued)
- [nongnu] elpa/go-mode 4acf733 468/495: Fully fontify type and const decls., ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode dac200f 469/495: Fix font locking in nested signatures., ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode fa2162b 475/495: Fix "nil" fontification in type switch clause., ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 7ce031c 481/495: Allow disabling variable font locking., ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode e10d677 478/495: indent: fix func literals in dangling lines, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode c9f5e92 483/495: Fix indentation of chained dangling selectors., ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode fdf46fe 492/495: Fix go.mod fontification., ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode e8eea7f 487/495: Fix fontification of multiline type switch clauses., ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 2f2910c 223/495: fix end-of-defun for function with inline struct/interface arguments, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode f1adac0 230/495: switch versioning to semver, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode d9f0bee 232/495: add variable to customize godef command,
ELPA Syncer <=
- [nongnu] elpa/go-mode 3da268f 285/495: README: improve description of new functions, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 9047fcd 238/495: add a menu, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 466e188 239/495: add `go-play-browse-function', ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 8c13a82 240/495: match identifiers, not type names, when highlighting struct literal, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 775c77a 241/495: immediately store match data in go-unused-imports-lines, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode aaea941 242/495: bump version to 1.2.0, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode bf4a097 243/495: add Iwasaki Yudai to AUTHORS, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 498452d 244/495: Don't set old buffer as active after godef--find-file-line-column, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 7041a20 245/495: Bump version to 1.2.1, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode bbaba91 246/495: Add godoc-mode, ELPA Syncer, 2021/08/07