on master help sign in
Fix some typos (#2978)
commit1378b911b63f4fdab7beba77de6d54f1dd070553 authorA-Walrus <58790821+A-Walrus@users.noreply.github.com> dateWed 6 Jul 2022, 05:49 (4 years ago) parentb612211
14 files changed+17−17
book/src/keymap.md+2−2 docs/architecture.md+1−1 helix-core/src/indent.rs+1−1 helix-term/src/ui/markdown.rs+1−1 runtime/queries/elm/highlights.scm+1−1 runtime/queries/git-commit/highlights.scm+1−1 runtime/queries/kotlin/highlights.scm+1−1 runtime/queries/lean/highlights.scm+1−1 runtime/queries/make/highlights.scm+1−1 runtime/queries/solidity/highlights.scm+3−3 runtime/queries/verilog/highlights.scm+1−1 runtime/queries/verilog/textobjects.scm+1−1 runtime/themes/nord.toml+1−1 runtime/themes/pop-dark.toml+1−1
book/src/keymap.md+2−2
@@ -241,8 +241,8 @@ This layer is a kludge of mappings, mostly pickers.
241241| `k` | Show documentation for item under cursor in a [popup](#popup) (**LSP**) | `hover` |
242242| `s` | Open document symbol picker (**LSP**) | `symbol_picker` |
243243| `S` | Open workspace symbol picker (**LSP**) | `workspace_symbol_picker` |
244−| `g` | Open document diagnosics picker (**LSP**) | `diagnostics_picker` |
245−| `G` | Open workspace diagnostics picker (**LSP**) | `workspace_diagnosics_picker`
244+| `g` | Open document diagnostics picker (**LSP**) | `diagnostics_picker` |
245+| `G` | Open workspace diagnostics picker (**LSP**) | `workspace_diagnostics_picker`
246246| `r` | Rename symbol (**LSP**) | `rename_symbol` |
247247| `a` | Apply code action (**LSP**) | `code_action` |
248248| `'` | Open last fuzzy picker | `last_picker` |
docs/architecture.md+1−1
@@ -32,7 +32,7 @@ represented by a `Selection`. Each `Range` in the selection consists of a moving
3232a selection with a single range, with the head and the anchor in the same
3333position.
3434
35−Ropes are modified by constructing an OT-like `Transaction`. It's represents
35+Ropes are modified by constructing an OT-like `Transaction`. It represents
3636a single coherent change to the document and can be applied to the rope.
3737A transaction can be inverted to produce an undo. Selections and marks can be
3838mapped over a transaction to translate to a position in the new text state after
helix-core/src/indent.rs+1−1
@@ -453,7 +453,7 @@ fn query_indents(
453453///
454454/// ```ignore
455455/// some_function(
456−/// parm1,
456+/// param1,
457457/// || {
458458/// // Here we get 2 indent levels because the 'parameters' and the 'block' node begin on different lines
459459/// },
helix-term/src/ui/markdown.rs+1−1
@@ -204,7 +204,7 @@ impl Markdown {
204204
205205 tags.push(Tag::Item);
206206
207− // get the approriate bullet for the current list
207+ // get the appropriate bullet for the current list
208208 let bullet = list_stack
209209 .last()
210210 .unwrap_or(&None) // use the '- ' bullet in case the list stack would be empty
runtime/queries/elm/highlights.scm+1−1
@@ -49,7 +49,7 @@
4949] @keyword
5050
5151
52−(import) @keyword.contol.import
52+(import) @keyword.control.import
5353(module) @keyword.other
5454
5555(number_constant_expr) @constant.numeric
runtime/queries/git-commit/highlights.scm+1−1
@@ -10,5 +10,5 @@
1010(change kind: "modified" @diff.delta)
1111(change kind: "renamed" @diff.delta.moved)
1212
13−[":" "->" (scissors)] @punctuation.delimeter
13+[":" "->" (scissors)] @punctuation.delimiter
1414(comment) @comment
runtime/queries/kotlin/highlights.scm+1−1
@@ -217,7 +217,7 @@
217217(function_declaration
218218 . (simple_identifier) @function)
219219
220−; TODO: Seperate labeled returns/breaks/continue/super/this
220+; TODO: Separate labeled returns/breaks/continue/super/this
221221; Must be implemented in the parser first
222222(label) @label
223223
runtime/queries/lean/highlights.scm+1−1
@@ -197,7 +197,7 @@
197197(interpolated_string) @string
198198; (escape_sequence) @string.escape
199199
200−; Reset highlighing in string interpolation
200+; Reset highlighting in string interpolation
201201(interpolation) @none
202202
203203(interpolation
runtime/queries/make/highlights.scm+1−1
@@ -155,7 +155,7 @@
155155 (word) @clean @constant.builtin
156156 (#match? @clean "^(AR|AS|CC|CXX|CPP|FC|M2C|PC|CO|GET|LEX|YACC|LINT|MAKEINFO|TEX|TEXI2DVI|WEAVE|CWEAVE|TANGLE|CTANGLE|RM|ARFLAGS|ASFLAGS|CFLAGS|CXXFLAGS|COFLAGS|CPPFLAGS|FFLAGS|GFLAGS|LDFLAGS|LDLIBS|LFLAGS|YFLAGS|PFLAGS|RFLAGS|LINTFLAGS|PRE_INSTALL|POST_INSTALL|NORMAL_INSTALL|PRE_UNINSTALL|POST_UNINSTALL|NORMAL_UNINSTALL|MAKEFILE_LIST|MAKE_RESTARTS|MAKE_TERMOUT|MAKE_TERMERR|\.DEFAULT_GOAL|\.RECIPEPREFIX|\.EXTRA_PREREQS\.VARIABLES|\.FEATURES|\.INCLUDE_DIRS|\.LOADED)$"))
157157
158−;; Standart targets
158+;; Standard targets
159159(targets
160160 (word) @constant.macro
161161 (#match? @constant.macro "^(all|install|install-html|install-dvi|install-pdf|install-ps|uninstall|install-strip|clean|distclean|mostlyclean|maintainer-clean|TAGS|info|dvi|html|pdf|ps|dist|check|installcheck|installdirs)$"))
runtime/queries/solidity/highlights.scm+3−3
@@ -50,7 +50,7 @@
5050 name: (identifier) @function)
5151(yul_evm_builtin) @function.builtin
5252
53−; Use contructor coloring for special functions
53+; Use constructor coloring for special functions
5454(constructor_definition "constructor" @constructor)
5555(fallback_receive_definition "receive" @constructor)
5656(fallback_receive_definition "fallback" @constructor)
@@ -64,7 +64,7 @@
6464(call_expression . (identifier) @function)
6565
6666; Function parameters
67−(event_paramater name: (identifier) @variable.parameter)
67+(event_paramater name: (identifier) @variable.parameter) ; TODO fix spelling once fixed upstream
6868(function_definition
6969 function_name: (identifier) @variable.parameter)
7070
@@ -131,7 +131,7 @@
131131
132132(import_directive "as" @keyword)
133133(import_directive "from" @keyword)
134−(event_paramater "indexed" @keyword)
134+(event_paramater "indexed" @keyword) ; TODO fix spelling once fixed upstream
135135
136136; Punctuation
137137
runtime/queries/verilog/highlights.scm+1−1
@@ -1,7 +1,7 @@
11; Keywords
22
33[
4− ; block delimeters
4+ ; block delimiters
55 (module_keyword)
66 "endmodule"
77 "program"
runtime/queries/verilog/textobjects.scm+1−1
@@ -3,4 +3,4 @@
33 (function_body_declaration
44 (function_identifier
55 (function_identifier
6− (simple_identifier) @function.inside)))) @funtions.around
6+ (simple_identifier) @function.inside)))) @function.around
runtime/themes/nord.toml+1−1
@@ -41,7 +41,7 @@
4141"constant.builtin" = "nord4"
4242"namespace" = "nord4"
4343
44−# nord5 - suble UI text
44+# nord5 - subtle UI text
4545
4646# nord6 - base text, punctuation
4747"ui.text" = { fg = "nord6" }
runtime/themes/pop-dark.toml+1−1
@@ -71,7 +71,7 @@ namespace = { fg = 'orangeL' }
7171'variable.other.member' = { fg = 'orangeH' }
7272'variable.function' = { fg = 'blueL' }
7373'punctuation' = { fg = 'blueL' }
74−'punctuation.delimeter' = { fg = 'blueH' }
74+'punctuation.delimiter' = { fg = 'blueH' }
7575'punctuation.bracket' = { fg = 'orangeN' }
7676'keyword' = { fg = 'blueH' }
7777'keyword.control' = { fg = 'blueL' }