diff --git a/apheleia-formatters.el b/apheleia-formatters.el index d75eb15c..719fcadc 100644 --- a/apheleia-formatters.el +++ b/apheleia-formatters.el @@ -314,7 +314,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. @@ -459,7 +459,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)))) @@ -801,7 +801,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. @@ -995,7 +995,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 @@ -1035,7 +1035,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 diff --git a/apheleia-log.el b/apheleia-log.el index 92d97f94..3547011c 100644 --- a/apheleia-log.el +++ b/apheleia-log.el @@ -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) diff --git a/test/formatters/samplecode/gawk/in.awk b/test/formatters/samplecode/gawk/in.awk index 8c27da26..3d1720a1 100644 --- a/test/formatters/samplecode/gawk/in.awk +++ b/test/formatters/samplecode/gawk/in.awk @@ -1,6 +1,6 @@ BEGIN { -print "Users and thier corresponding home" +print "Users and their corresponding home" print " UserName \t HomePath" diff --git a/test/formatters/samplecode/gawk/out.awk b/test/formatters/samplecode/gawk/out.awk index d9f2da07..1b8178a1 100644 --- a/test/formatters/samplecode/gawk/out.awk +++ b/test/formatters/samplecode/gawk/out.awk @@ -1,5 +1,5 @@ BEGIN { - print "Users and thier corresponding home" + print "Users and their corresponding home" print " UserName \t HomePath" print "___________ \t __________" FS = ":"