[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/go-mode 2835258 007/495: support `import foo "bar"` syntax
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/go-mode 2835258 007/495: support `import foo "bar"` syntax in go-goto-imports |
Date: |
Sat, 7 Aug 2021 09:04:32 -0400 (EDT) |
branch: elpa/go-mode
commit 2835258d668f5e348b03208342c3a608ebb7c519
Author: Dominik Honnef <dominikh@fork-bomb.org>
Commit: Dominik Honnef <dominikh@fork-bomb.org>
support `import foo "bar"` syntax in go-goto-imports
---
go-mode.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/go-mode.el b/go-mode.el
index 6935d72..c3dd637 100644
--- a/go-mode.el
+++ b/go-mode.el
@@ -474,7 +474,7 @@ declaration."
(cond
((re-search-forward "^import ([^)]+)" nil t)
(backward-char 2))
- ((re-search-forward "\\(^import \"[^\"]+\"\n?\\)+" nil t))
+ ((re-search-forward "\\(^import \\([^\"]+ \\)?\"[^\"]+\"\n?\\)+" nil t))
((re-search-forward "^[[:space:]\n]*package .+?\n" nil t))
(t
(goto-char old-point)
- [nongnu] elpa/go-mode 9af89df 006/495: add docstrings to go-goto-imports, go-play-region and go-play-buffer, (continued)
- [nongnu] elpa/go-mode 9af89df 006/495: add docstrings to go-goto-imports, go-play-region and go-play-buffer, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 366ada1 011/495: add tab completion for go-import-add, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 9536e6b 010/495: go-import-add, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode fd0c117 012/495: move list of improvements to readme, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode ca48fc5 009/495: add return values to go-goto-imports that tell which kind of import has been jumped to, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode db41787 015/495: if line has been indented with spaces, replace them with tabs, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode d942d4f 013/495: add links to further extensions for editting go in emacs, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 5af4f4d 019/495: mention imenu in readme, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 4f3befb 003/495: add go-play-buffer and go-play-region, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 61467ee 004/495: add readme, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 2835258 007/495: support `import foo "bar"` syntax in go-goto-imports,
ELPA Syncer <=
- [nongnu] elpa/go-mode 0a570b1 014/495: use `go env` to determine goroot and gopath, support multiple gopath entries and skip over ones with no pkg dir, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 6ccd9b9 017/495: Revert "if line has been indented with spaces, replace them with tabs", ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 492e065 018/495: note in readme that old go-mode will interfere with this one, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 26759b9 027/495: support unused import detection for *_test.go files, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 7fb4e67 023/495: Support methods in beginning-of-defun and end-of-defun, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 6da1af6 031/495: use goto-char instead of beginning-of-buffer, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 52914d5 039/495: Correctly indent next line if raw string is following an operator, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode ca3050a 045/495: temporarily disable flymake-mode in go-remove-unused-imports, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 445d10d 032/495: do not use goto-line but forward-line instead, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 7751f22 040/495: add test cases for indentation, ELPA Syncer, 2021/08/07