[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/go-mode 49a5380 493/495: Trivial fix of docstring and comm
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/go-mode 49a5380 493/495: Trivial fix of docstring and comment spelling typos. |
Date: |
Sat, 7 Aug 2021 09:06:16 -0400 (EDT) |
branch: elpa/go-mode
commit 49a538028e63dbe20f428c52d91f09b70b564626
Author: Pierre Rouleau <prouleau001@gmail.com>
Commit: Peter Sanford <psanford@sanford.io>
Trivial fix of docstring and comment spelling typos.
Closes: #380 [via git-merge-pr]
---
go-mode.el | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/go-mode.el b/go-mode.el
index cdd83ac..17166e6 100644
--- a/go-mode.el
+++ b/go-mode.el
@@ -294,7 +294,7 @@ Consider using ‘godoc-gogetdoc’ instead for more accurate
results."
You can install gogetdoc with 'go get -u github.com/zmb3/gogetdoc'."
(if (not (buffer-file-name (go--coverage-origin-buffer)))
;; TODO: gogetdoc supports unsaved files, but not introducing
- ;; new artifical files, so this limitation will stay for now.
+ ;; new artificial files, so this limitation will stay for now.
(error "Cannot use gogetdoc on a buffer without a file name"))
(let ((posn (format "%s:#%d" (file-truename buffer-file-name) (1-
(position-bytes point))))
(out (godoc--get-buffer "<at point>")))
@@ -888,7 +888,7 @@ Assumes point is at beginning of line within comment. This
function has basic logic to indent as you add new lines to a
multiline comment, and to line up all the `*' if each line starts
with `*'. The gofmt behavior for multiline comments is
-suprisingly complex and strange/buggy, so we just aim to do
+surprisingly complex and strange/buggy, so we just aim to do
something simple rather than encode all the subtle behavior."
(let* (;; Indent of current line.
(indent (current-indentation))
@@ -1431,7 +1431,7 @@ func foo(i, j int) {}
(go--parameter-list-type (point-max))
'present))
- ;; Remember where our match started so we can continue our serach
+ ;; Remember where our match started so we can continue our search
;; from here.
(setq go--fontify-param-beg (point))
@@ -1602,7 +1602,7 @@ comma, it stops at it. Return non-nil if comma was found."
(defconst go--decl-ident-re (concat "\\(?:^\\|[[:space:]]\\)\\(\\(\\("
go-identifier-regexp "\\)\\)\\)\\_>"))
(defun go--match-decl (end)
- "Match identifers in \"var\", \"type\" and \"const\" decls, as
+ "Match identifiers in \"var\", \"type\" and \"const\" decls, as
well as \":=\" assignments.
In order to only scan once, the regex has three subexpressions
@@ -1644,7 +1644,7 @@ gets highlighted by the font lock keyword."
(go-fontify-variables
(save-match-data
- ;; Left side of ":=" assignmnet.
+ ;; Left side of ":=" assignment.
(when (looking-at ".*:=")
(let ((depth (go-paren-level)))
(goto-char (match-end 0))
@@ -1693,7 +1693,7 @@ succeeds."
"Match single result types.
Parenthetical result lists are handled by the param list keyword,
-so we need a separate keyword to handle singular reuslt types
+so we need a separate keyword to handle singular result types
such as \"string\" in:
func foo(i int) string"
@@ -1935,7 +1935,7 @@ with goflymake (see URL
`https://github.com/dougm/goflymake'), gocode
;; leading whitespace in the file name.
;;
;; http://lists.gnu.org/archive/html/bug-gnu-emacs/2001-12/msg00674.html
- ;; documents the old, reverseed order.
+ ;; documents the old, reversed order.
(when (and (boundp 'compilation-error-regexp-alist)
(boundp 'compilation-error-regexp-alist-alist))
(add-to-list 'compilation-error-regexp-alist 'go-test)
@@ -2620,7 +2620,7 @@ for."
(display-buffer (current-buffer)
`(,go-coverage-display-buffer-func))))))
(defun go-goto-function (&optional arg)
- "Go to the function defintion (named or anonymous) surrounding point.
+ "Go to the function definition (named or anonymous) surrounding point.
If we are on a docstring, follow the docstring down.
If no function is found, assume that we are at the top of a file
- [nongnu] elpa/go-mode c020e2c 456/495: Fontify type names in more places., (continued)
- [nongnu] elpa/go-mode c020e2c 456/495: Fontify type names in more places., ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 2a1584f 454/495: Readme: add note recommending goimports, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 57becfb 460/495: Fontify type names in interface declarations, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode cf53daa 459/495: Fix indentation in naked blocks., ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode f872781 466/495: Fontify variable names., ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode acec0aa 471/495: Fix Content-Type for https://play.golang.org/share, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode cad6d0a 472/495: Fix fontification performance issue, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 1fbe6a8 490/495: Fix comment filling at start of buffer., ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 5186c83 491/495: Support basic indenting in multiline comments., ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode c576513 494/495: Fix fontification of multiplicand after index expr., ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 49a5380 493/495: Trivial fix of docstring and comment spelling typos.,
ELPA Syncer <=
- [nongnu] elpa/go-mode 584628e 148/495: instead of killing lines, delete them, to avoid manipulating the kill ring, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode a82c165 221/495: fix the license, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 27068bb 222/495: provide configuration option for how to display coverage buffer, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 86ed568 235/495: add link to `defgroup'., ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode a9b9871 247/495: Use view-mode in godoc-mode, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode dce210f 250/495: Bump version to 1.3.1, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 8baa836 251/495: Don't break fontification when limiting point, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode dccb56c 256/495: go-unused-imports-lines: only compile the current file, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode d91a157 257/495: Add goto functions for working with function signatures, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 11e7b4e 259/495: Fix copy-pasted docstring of go-goto-arguments, ELPA Syncer, 2021/08/07