on master help sign in
Fix some typos (#2978)
1378b91A-Walrus
book/src/keymap.md+2−2
@@ -241,8 +241,8 @@ This layer is a kludge of mappings, mostly pickers.
241| `k` | Show documentation for item under cursor in a [popup](#popup) (**LSP**) | `hover` |
241| `k` | Show documentation for item under cursor in a [popup](#popup) (**LSP**) | `hover` |
242| `s` | Open document symbol picker (**LSP**) | `symbol_picker` |
242| `s` | Open document symbol picker (**LSP**) | `symbol_picker` |
243| `S` | Open workspace symbol picker (**LSP**) | `workspace_symbol_picker` |
243| `S` | Open workspace symbol picker (**LSP**) | `workspace_symbol_picker` |
244−| `g` | Open document diagnosics picker (**LSP**) | `diagnostics_picker` |
244+| `g` | Open document diagnostics picker (**LSP**) | `diagnostics_picker` |
245−| `G` | Open workspace diagnostics picker (**LSP**) | `workspace_diagnosics_picker`
245+| `G` | Open workspace diagnostics picker (**LSP**) | `workspace_diagnostics_picker`
246| `r` | Rename symbol (**LSP**) | `rename_symbol` |
246| `r` | Rename symbol (**LSP**) | `rename_symbol` |
247| `a` | Apply code action (**LSP**) | `code_action` |
247| `a` | Apply code action (**LSP**) | `code_action` |
248| `'` | Open last fuzzy picker | `last_picker` |
248| `'` | 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
32a selection with a single range, with the head and the anchor in the same
32a selection with a single range, with the head and the anchor in the same
33position.
33position.
34
34
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
36a single coherent change to the document and can be applied to the rope.
36a single coherent change to the document and can be applied to the rope.
37A transaction can be inverted to produce an undo. Selections and marks can be
37A transaction can be inverted to produce an undo. Selections and marks can be
38mapped over a transaction to translate to a position in the new text state after
38mapped 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(
453///
453///
454/// ```ignore
454/// ```ignore
455/// some_function(
455/// some_function(
456−/// parm1,
456+/// param1,
457/// || {
457/// || {
458/// // Here we get 2 indent levels because the 'parameters' and the 'block' node begin on different lines
458/// // Here we get 2 indent levels because the 'parameters' and the 'block' node begin on different lines
459/// },
459/// },
helix-term/src/ui/markdown.rs+1−1
@@ -204,7 +204,7 @@ impl Markdown {
204
204
205 tags.push(Tag::Item);
205 tags.push(Tag::Item);
206
206
207− // get the approriate bullet for the current list
207+ // get the appropriate bullet for the current list
208 let bullet = list_stack
208 let bullet = list_stack
209 .last()
209 .last()
210 .unwrap_or(&None) // use the '- ' bullet in case the list stack would be empty
210 .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 @@
49] @keyword
49] @keyword
50
50
51
51
52−(import) @keyword.contol.import
52+(import) @keyword.control.import
53(module) @keyword.other
53(module) @keyword.other
54
54
55(number_constant_expr) @constant.numeric
55(number_constant_expr) @constant.numeric
runtime/queries/git-commit/highlights.scm+1−1
@@ -10,5 +10,5 @@
10(change kind: "modified" @diff.delta)
10(change kind: "modified" @diff.delta)
11(change kind: "renamed" @diff.delta.moved)
11(change kind: "renamed" @diff.delta.moved)
12
12
13−[":" "->" (scissors)] @punctuation.delimeter
13+[":" "->" (scissors)] @punctuation.delimiter
14(comment) @comment
14(comment) @comment
runtime/queries/kotlin/highlights.scm+1−1
@@ -217,7 +217,7 @@
217(function_declaration
217(function_declaration
218 . (simple_identifier) @function)
218 . (simple_identifier) @function)
219
219
220−; TODO: Seperate labeled returns/breaks/continue/super/this
220+; TODO: Separate labeled returns/breaks/continue/super/this
221; Must be implemented in the parser first
221; Must be implemented in the parser first
222(label) @label
222(label) @label
223
223
runtime/queries/lean/highlights.scm+1−1
@@ -197,7 +197,7 @@
197(interpolated_string) @string
197(interpolated_string) @string
198; (escape_sequence) @string.escape
198; (escape_sequence) @string.escape
199
199
200−; Reset highlighing in string interpolation
200+; Reset highlighting in string interpolation
201(interpolation) @none
201(interpolation) @none
202
202
203(interpolation
203(interpolation
runtime/queries/make/highlights.scm+1−1
@@ -155,7 +155,7 @@
155 (word) @clean @constant.builtin
155 (word) @clean @constant.builtin
156 (#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)$"))
156 (#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)$"))
157
157
158−;; Standart targets
158+;; Standard targets
159(targets
159(targets
160 (word) @constant.macro
160 (word) @constant.macro
161 (#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)$"))
161 (#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 @@
50 name: (identifier) @function)
50 name: (identifier) @function)
51(yul_evm_builtin) @function.builtin
51(yul_evm_builtin) @function.builtin
52
52
53−; Use contructor coloring for special functions
53+; Use constructor coloring for special functions
54(constructor_definition "constructor" @constructor)
54(constructor_definition "constructor" @constructor)
55(fallback_receive_definition "receive" @constructor)
55(fallback_receive_definition "receive" @constructor)
56(fallback_receive_definition "fallback" @constructor)
56(fallback_receive_definition "fallback" @constructor)
@@ -64,7 +64,7 @@
64(call_expression . (identifier) @function)
64(call_expression . (identifier) @function)
65
65
66; Function parameters
66; Function parameters
67−(event_paramater name: (identifier) @variable.parameter)
67+(event_paramater name: (identifier) @variable.parameter) ; TODO fix spelling once fixed upstream
68(function_definition
68(function_definition
69 function_name: (identifier) @variable.parameter)
69 function_name: (identifier) @variable.parameter)
70
70
@@ -131,7 +131,7 @@
131
131
132(import_directive "as" @keyword)
132(import_directive "as" @keyword)
133(import_directive "from" @keyword)
133(import_directive "from" @keyword)
134−(event_paramater "indexed" @keyword)
134+(event_paramater "indexed" @keyword) ; TODO fix spelling once fixed upstream
135
135
136; Punctuation
136; Punctuation
137
137
runtime/queries/verilog/highlights.scm+1−1
@@ -1,7 +1,7 @@
1; Keywords
1; Keywords
2
2
3[
3[
4− ; block delimeters
4+ ; block delimiters
5 (module_keyword)
5 (module_keyword)
6 "endmodule"
6 "endmodule"
7 "program"
7 "program"
runtime/queries/verilog/textobjects.scm+1−1
@@ -3,4 +3,4 @@
3 (function_body_declaration
3 (function_body_declaration
4 (function_identifier
4 (function_identifier
5 (function_identifier
5 (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 @@
41"constant.builtin" = "nord4"
41"constant.builtin" = "nord4"
42"namespace" = "nord4"
42"namespace" = "nord4"
43
43
44−# nord5 - suble UI text
44+# nord5 - subtle UI text
45
45
46# nord6 - base text, punctuation
46# nord6 - base text, punctuation
47"ui.text" = { fg = "nord6" }
47"ui.text" = { fg = "nord6" }
runtime/themes/pop-dark.toml+1−1
@@ -71,7 +71,7 @@ namespace = { fg = 'orangeL' }
71'variable.other.member' = { fg = 'orangeH' }
71'variable.other.member' = { fg = 'orangeH' }
72'variable.function' = { fg = 'blueL' }
72'variable.function' = { fg = 'blueL' }
73'punctuation' = { fg = 'blueL' }
73'punctuation' = { fg = 'blueL' }
74−'punctuation.delimeter' = { fg = 'blueH' }
74+'punctuation.delimiter' = { fg = 'blueH' }
75'punctuation.bracket' = { fg = 'orangeN' }
75'punctuation.bracket' = { fg = 'orangeN' }
76'keyword' = { fg = 'blueH' }
76'keyword' = { fg = 'blueH' }
77'keyword.control' = { fg = 'blueL' }
77'keyword.control' = { fg = 'blueL' }