Skip to content

Commit

Permalink
Fix typos (#4105)
Browse files Browse the repository at this point in the history
  • Loading branch information
dakra committed Jul 21, 2023
1 parent 0858544 commit 3fbf044
Show file tree
Hide file tree
Showing 12 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.org
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
** Unreleased 8.0.1
* Add [[https://github.com/elixir-tools/credo-language-server][credo-language-server]]
* Add support for clojure-ts-mode in clojure-lsp client
* terraform-ls now supports prefill requied fields and the ability to validate on save.
* terraform-ls now supports prefill required fields and the ability to validate on save.
* Ignore =.terraform= and =.terragrunt-cache= directories
* ~lsp-bash~ now supports ~bash-ts-mode~
* ~lsp-ruby-syntax-tree~, ~lsp-solargraph~, ~lsp-sorbet~, ~lsp-steep~, and ~lsp-typeprof~ now support ~ruby-ts-mode~
Expand Down
2 changes: 1 addition & 1 deletion clients/lsp-ansible.el
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ Pretty print the content of PARAMS."
(message "Ansible Language Server metadata: %s" (json-encode params))))

(defun lsp-ansible-show-server-metadata ()
"Show informations about Ansible environment used by the Ansible Language Server."
"Show information about Ansible environment used by the Ansible Language Server."
(interactive)
(lsp-notify "update/ansible-metadata" nil))

Expand Down
2 changes: 1 addition & 1 deletion clients/lsp-csharp.el
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ Set this if you have the binary installed or have it built yourself."

(defcustom lsp-csharp-test-run-buffer-name
"*lsp-csharp test run*"
"The name of buffer used for outputing lsp-csharp test run results."
"The name of buffer used for outputting lsp-csharp test run results."
:group 'lsp-csharp-omnisharp
:type 'string)

Expand Down
4 changes: 2 additions & 2 deletions clients/lsp-kotlin.el
Original file line number Diff line number Diff line change
Expand Up @@ -202,8 +202,8 @@ to Kotlin."
(ivy-read message (mapcar #'car items)
:action (lambda (c) (setq result (list (cdr (assoc c items)))))
:multi-action
(lambda (canditates)
(setq result (mapcar (lambda (c) (cdr (assoc c items))) canditates))))
(lambda (candidates)
(setq result (mapcar (lambda (c) (cdr (assoc c items))) candidates))))
result)
(let ((deps initial-selection) dep)
(while (setq dep (cl-rest (lsp--completing-read
Expand Down
4 changes: 2 additions & 2 deletions clients/lsp-sml.el
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
;; Copyright (c) 2023 Ariel Davis

;; Author: Ariel Davis <[email protected]>
;; Keywords: langauges, lsp, sml, standard-ml, millet
;; Keywords: languages, lsp, sml, standard-ml, millet

;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -46,7 +46,7 @@ How to format open SML files on save."
"What diagnostics to send per file."
:type '(choice (const :tag "No filter, i.e. all available diagnostics are sent." "none")
(const :tag "If there are syntax errors (lex, parse, etc),
send only those, and do not send e.g. statics diagnostics." "syntax"))
send only those, and do not send e.g. statistics diagnostics." "syntax"))
:group 'lsp-sml)

(defcustom lsp-sml-millet-server-diagnostics-moreInfoHint-enable t
Expand Down
2 changes: 1 addition & 1 deletion clients/lsp-yaml.el
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
(defcustom lsp-yaml-schema-store-local-db (expand-file-name
(locate-user-emacs-file
(f-join ".cache" "lsp" "lsp-yaml-schemas.json")))
"Cached databse of schema store."
"Cached database of schema store."
:type 'file
:group 'lsp-yaml)

Expand Down
2 changes: 1 addition & 1 deletion lsp-completion.el
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,7 @@ The return is nil or in range of (0, inf)."
"Update score variables given match range (A B)."
(setq score-numerator (+ score-numerator (- b a)))
(unless (= a len)
;; case mis-match will be pushed to near next rank
;; case mismatch will be pushed to near next rank
(unless (equal (aref query q-ind) (aref str a))
(cl-incf a 0.9))
(setq score-denominator
Expand Down
2 changes: 1 addition & 1 deletion lsp-headerline.el
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ PATH is the current folder to be checked."
'lsp-headerline-breadcrumb-path-face))

(defun lsp-headerline--severity-level-for-range (range)
"Get the severiy level for RANGE."
"Get the severity level for RANGE."
(let ((range-severity 10))
(mapc (-lambda ((&Diagnostic :range (&Range :start) :severity?))
(when (lsp-point-in-range? start range)
Expand Down
2 changes: 1 addition & 1 deletion lsp-ido.el
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"Evnt" ; Event - 24
"Op " ; Operator - 25
"TPar"] ; TypeParameter - 26
"A vector of 26 itens representing the SymbolKind."
"A vector of 26 items representing the SymbolKind."
:group 'lsp-ido
:type 'vector)

Expand Down
12 changes: 6 additions & 6 deletions lsp-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -680,7 +680,7 @@ are determined by the index of the element."
(const :tag "Method" Method)
(const :tag "Property" Property)
(const :tag "Field" Field)
(const :tag "Constructor" Constuctor)
(const :tag "Constructor" Constructor)
(const :tag "Enum" Enum)
(const :tag "Interface" Interface)
(const :tag "Function" Function)
Expand Down Expand Up @@ -6881,7 +6881,7 @@ information, for example if it doesn't support DocumentSymbols."
:type 'boolean)

(defface lsp-details-face '((t :height 0.8 :inherit shadow))
"Used to display additional information troughout `lsp'.
"Used to display additional information throughout `lsp'.
Things like line numbers, signatures, ... are considered
additional information. Often, additional faces are defined that
inherit from this face by default, like `lsp-signature-face', and
Expand Down Expand Up @@ -8148,7 +8148,7 @@ nil."
SET-EXECUTABLE? when non-nil change the executable flags of
STORE-PATH to make it executable. BINARY-PATH can be specified
when the binary to start does not match the name of the
archieve(e. g. when the archieve has multiple files)"
archive (e.g. when the archive has multiple files)"
(let ((store-path (or (lsp-resolve-value binary-path)
(lsp-resolve-value store-path))))
(cond
Expand Down Expand Up @@ -8615,7 +8615,7 @@ When ALL is t, erase all log buffers of the running session."
(lambda ()
(cond
(result (lsp--parser-on-message result workspace))
(err (warn "Json parsing failed with the following erorr: %s" err))
(err (warn "Json parsing failed with the following error: %s" err))
(done (lsp--handle-process-exit workspace ""))))))
:object-type object-type
:null-object nil
Expand Down Expand Up @@ -9332,7 +9332,7 @@ This avoids overloading the server with many files when starting Emacs."
(flycheck-add-mode 'lsp mode)))

(defun lsp-progress-spinner-type ()
"Retrive the spinner type value, if value is not a symbol of `spinner-types
"Retrieve the spinner type value, if value is not a symbol of `spinner-types
defaults to `progress-bar."
(or (car (assoc lsp-progress-spinner-type spinner-types)) 'progress-bar))

Expand Down Expand Up @@ -9615,7 +9615,7 @@ string."

;;;###autoload
(defun lsp-start-plain ()
"Start `lsp-mode' using mininal configuration using the latest `melpa' version
"Start `lsp-mode' using minimal configuration using the latest `melpa' version
of the packages.

In case the major-mode that you are using for "
Expand Down
2 changes: 1 addition & 1 deletion lsp-protocol.el
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
;;; Commentary:

;; Autogenerated bindings from lsp4j using
;; https://github.com/victools/jsonschema-generator+scrips to generate
;; https://github.com/victools/jsonschema-generator+scripts to generate
;; scripts/generated.protocol.schema.json and then
;; scripts/lsp-generate-bindings.el

Expand Down
2 changes: 1 addition & 1 deletion test/lsp-methods-test.el
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ private void extracted() {
;;; `lsp-rename'
(defmacro lsp-test--simulated-input (keys &rest body)
"Execute body, while simulating the pressing of KEYS.
KEYS is passed to `execute-kbd-macro', after being run trough
KEYS is passed to `execute-kbd-macro', after being run through
`kbd'. Returns the result of the last BODY form."
(declare (indent 1))
`(let (result)
Expand Down

0 comments on commit 3fbf044

Please sign in to comment.