Skip to content

Commit

Permalink
Spelling and grammar fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
scop committed Nov 20, 2023
1 parent 615b0f5 commit d114a31
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions apheleia-formatters.el
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ strings (matched against value of variable `buffer-file-name'
with `string-match-p'), and the values are symbols with entries
in `apheleia-formatters' (or equivalently, they are allowed
values for `apheleia-formatter'). Values can be a list of such
symnols causing each formatter in the list to be called one after
symbols causing each formatter in the list to be called one after
the other (with the output of the previous formatter).
Earlier entries in this variable take precedence over later ones.
Expand Down Expand Up @@ -446,7 +446,7 @@ NO-QUERY, and CONNECTION-TYPE."
;; capture stderr into a separate buffer, the best we can
;; do is save and read from a file.
`(,stdout ,stderr-file)
;; Do not re/display stdout as output is recieved.
;; Do not re/display stdout as output is received.
nil)
;; argv[1:]
(cdr command))))
Expand Down Expand Up @@ -788,7 +788,7 @@ This function does not modify DEST in place, it returns a copy."

(defun apheleia--formatter-context (name command remote &optional stdin-buffer)
"Construct a formatter context for the formatter with NAME and COMMAND.
Returns a `apheleia-formatter--context' object on success and nil if
Returns an `apheleia-formatter--context' object on success and nil if
the formatter is not executable. The returned formatter context may
have some state such as temporary files that the caller is expected
to cleanup.
Expand Down Expand Up @@ -982,7 +982,7 @@ being run, for diagnostic purposes."
:scratch scratch
;; Name of the current formatter symbol, e.g. `black'.
:formatter formatter
;; Callback after succesfully formatting.
;; Callback after successfully formatting.
:callback
(lambda ()
(unwind-protect
Expand Down Expand Up @@ -1022,7 +1022,7 @@ For more implementation detail, see
FORMATTERS is a list of symbols that appear as keys in
`apheleia-formatters'. BUFFER is the `current-buffer' when this
function was first called. Once all the formatters in COMMANDS
finish succesfully then invoke CALLBACK with one argument, a
finish successfully then invoke CALLBACK with one argument, a
buffer containing the output of all the formatters. REMOTE asserts
whether the buffer being formatted is on a remote machine or the
current machine. It should be the output of `file-remote-p' on the
Expand Down
2 changes: 1 addition & 1 deletion apheleia-log.el
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ This points into a log buffer.")
"Log the result of a formatter process.
CTX The formatter process context (see `apheleia-formatter--context').
LOG-BUFFER is the name of the log-buffer.
EXIT-OK is true when the formatter exited sucesfully.
EXIT-OK is true when the formatter exited successfully.
DIRECTORY is the directory in which the formatter ran.
STDERR-STRING is the stderr output of the formatter."
(with-current-buffer (get-buffer-create log-buffer)
Expand Down
2 changes: 1 addition & 1 deletion test/formatters/samplecode/gawk/in.awk
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
BEGIN {

print "Users and thier corresponding home"
print "Users and their corresponding home"

print " UserName \t HomePath"

Expand Down
2 changes: 1 addition & 1 deletion test/formatters/samplecode/gawk/out.awk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
BEGIN {
print "Users and thier corresponding home"
print "Users and their corresponding home"
print " UserName \t HomePath"
print "___________ \t __________"
FS = ":"
Expand Down

0 comments on commit d114a31

Please sign in to comment.