[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/go-mode 61aafe9 218/495: Allow spaces after "chan<-"
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/go-mode 61aafe9 218/495: Allow spaces after "chan<-" |
Date: |
Sat, 7 Aug 2021 09:05:17 -0400 (EDT) |
branch: elpa/go-mode
commit 61aafe978a958c762991d2489f181165db490659
Author: Rui Ueyama <ruiu@google.com>
Commit: Dominik Honnef <dominikh@fork-bomb.org>
Allow spaces after "chan<-"
---
go-mode.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/go-mode.el b/go-mode.el
index 311473f..3b55c98 100644
--- a/go-mode.el
+++ b/go-mode.el
@@ -294,7 +294,7 @@ For mode=set, all covered lines will have this weight."
(,(concat "\\(" go-identifier-regexp "\\)" "{") 1 font-lock-type-face)
(,(concat (go--regexp-enclose-in-symbol "map") "\\[[^]]+\\]"
go-type-name-regexp) 1 font-lock-type-face) ;; map value type
(,(concat (go--regexp-enclose-in-symbol "map") "\\[" go-type-name-regexp)
1 font-lock-type-face) ;; map key type
- (,(concat (go--regexp-enclose-in-symbol "chan") "[[:space:]]*\\(?:<-\\)?"
go-type-name-regexp) 1 font-lock-type-face) ;; channel type
+ (,(concat (go--regexp-enclose-in-symbol "chan")
"[[:space:]]*\\(?:<-[[:space:]]*\\)?" go-type-name-regexp) 1
font-lock-type-face) ;; channel type
(,(concat (go--regexp-enclose-in-symbol "\\(?:new\\|make\\)")
"\\(?:[[:space:]]\\|)\\)*(" go-type-name-regexp) 1 font-lock-type-face) ;;
new/make type
;; TODO do we actually need this one or isn't it just a function call?
(,(concat "\\.\\s *(" go-type-name-regexp) 1 font-lock-type-face) ;; Type
conversion
- [nongnu] elpa/go-mode 21cba0e 220/495: add gofmt-show-errors option, (continued)
- [nongnu] elpa/go-mode 21cba0e 220/495: add gofmt-show-errors option, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 731b93c 152/495: godef: instead of printing just the first line of a definition, print all, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 6e1d5ea 162/495: bump version, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 5a58bda 149/495: bump version, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode a55aa42 168/495: add pledgie to the readme, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 115b2eb 171/495: add go-coverage to readme, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode b0d4379 175/495: fix for eea3ccf, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 2089798 200/495: ignore backquote in comment or string, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 6b5fe38 204/495: write our own implementation of go--delete-whole-line, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 1319be5 210/495: simplify godoc-at-point, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 61aafe9 218/495: Allow spaces after "chan<-",
ELPA Syncer <=
- [nongnu] elpa/go-mode 078d5d8 229/495: Use utf-8 when calling godef, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode d900f72 060/495: extend indentation_tests/gh-15.go, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 846ed32 063/495: optimizations, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode e184d60 070/495: Replace go--directory-dirs with find-lisp-find-files-internal, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 56ab2c8 088/495: make sure kill-line in go-remove-unused-imports includes \n, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 0b32caa 093/495: fix usage of url-* functions, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 1fdbcbf 095/495: use line-number-at-pos isntead of count-lines, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 7512759 104/495: Merge branch 'master' of https://github.com/imarko/go-mode.el into imarko-master, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode a52724b 116/495: use own history for godoc command, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode fb3e413 118/495: fix list markup in readme, ELPA Syncer, 2021/08/07