Fix some typos (#2978)

This commit is contained in:
A-Walrus 2022-07-06 05:49:54 +03:00 committed by GitHub
parent b612211070
commit 1378b911b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
14 changed files with 17 additions and 17 deletions

View File

@ -241,8 +241,8 @@ #### Space mode
| `k` | Show documentation for item under cursor in a [popup](#popup) (**LSP**) | `hover` | | `k` | Show documentation for item under cursor in a [popup](#popup) (**LSP**) | `hover` |
| `s` | Open document symbol picker (**LSP**) | `symbol_picker` | | `s` | Open document symbol picker (**LSP**) | `symbol_picker` |
| `S` | Open workspace symbol picker (**LSP**) | `workspace_symbol_picker` | | `S` | Open workspace symbol picker (**LSP**) | `workspace_symbol_picker` |
| `g` | Open document diagnosics picker (**LSP**) | `diagnostics_picker` | | `g` | Open document diagnostics picker (**LSP**) | `diagnostics_picker` |
| `G` | Open workspace diagnostics picker (**LSP**) | `workspace_diagnosics_picker` | `G` | Open workspace diagnostics picker (**LSP**) | `workspace_diagnostics_picker`
| `r` | Rename symbol (**LSP**) | `rename_symbol` | | `r` | Rename symbol (**LSP**) | `rename_symbol` |
| `a` | Apply code action (**LSP**) | `code_action` | | `a` | Apply code action (**LSP**) | `code_action` |
| `'` | Open last fuzzy picker | `last_picker` | | `'` | Open last fuzzy picker | `last_picker` |

View File

@ -32,7 +32,7 @@ ## Core
a selection with a single range, with the head and the anchor in the same a selection with a single range, with the head and the anchor in the same
position. position.
Ropes are modified by constructing an OT-like `Transaction`. It's represents Ropes are modified by constructing an OT-like `Transaction`. It represents
a single coherent change to the document and can be applied to the rope. a single coherent change to the document and can be applied to the rope.
A transaction can be inverted to produce an undo. Selections and marks can be A transaction can be inverted to produce an undo. Selections and marks can be
mapped over a transaction to translate to a position in the new text state after mapped over a transaction to translate to a position in the new text state after

View File

@ -453,7 +453,7 @@ fn query_indents(
/// ///
/// ```ignore /// ```ignore
/// some_function( /// some_function(
/// parm1, /// param1,
/// || { /// || {
/// // Here we get 2 indent levels because the 'parameters' and the 'block' node begin on different lines /// // Here we get 2 indent levels because the 'parameters' and the 'block' node begin on different lines
/// }, /// },

View File

@ -204,7 +204,7 @@ fn push_line<'a>(spans: &mut Vec<Span<'a>>, lines: &mut Vec<Spans<'a>>) {
tags.push(Tag::Item); tags.push(Tag::Item);
// get the approriate bullet for the current list // get the appropriate bullet for the current list
let bullet = list_stack let bullet = list_stack
.last() .last()
.unwrap_or(&None) // use the '- ' bullet in case the list stack would be empty .unwrap_or(&None) // use the '- ' bullet in case the list stack would be empty

View File

@ -49,7 +49,7 @@
] @keyword ] @keyword
(import) @keyword.contol.import (import) @keyword.control.import
(module) @keyword.other (module) @keyword.other
(number_constant_expr) @constant.numeric (number_constant_expr) @constant.numeric

View File

@ -10,5 +10,5 @@
(change kind: "modified" @diff.delta) (change kind: "modified" @diff.delta)
(change kind: "renamed" @diff.delta.moved) (change kind: "renamed" @diff.delta.moved)
[":" "->" (scissors)] @punctuation.delimeter [":" "->" (scissors)] @punctuation.delimiter
(comment) @comment (comment) @comment

View File

@ -217,7 +217,7 @@
(function_declaration (function_declaration
. (simple_identifier) @function) . (simple_identifier) @function)
; TODO: Seperate labeled returns/breaks/continue/super/this ; TODO: Separate labeled returns/breaks/continue/super/this
; Must be implemented in the parser first ; Must be implemented in the parser first
(label) @label (label) @label

View File

@ -197,7 +197,7 @@
(interpolated_string) @string (interpolated_string) @string
; (escape_sequence) @string.escape ; (escape_sequence) @string.escape
; Reset highlighing in string interpolation ; Reset highlighting in string interpolation
(interpolation) @none (interpolation) @none
(interpolation (interpolation

View File

@ -155,7 +155,7 @@
(word) @clean @constant.builtin (word) @clean @constant.builtin
(#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)$")) (#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)$"))
;; Standart targets ;; Standard targets
(targets (targets
(word) @constant.macro (word) @constant.macro
(#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)$")) (#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)$"))

View File

@ -50,7 +50,7 @@
name: (identifier) @function) name: (identifier) @function)
(yul_evm_builtin) @function.builtin (yul_evm_builtin) @function.builtin
; Use contructor coloring for special functions ; Use constructor coloring for special functions
(constructor_definition "constructor" @constructor) (constructor_definition "constructor" @constructor)
(fallback_receive_definition "receive" @constructor) (fallback_receive_definition "receive" @constructor)
(fallback_receive_definition "fallback" @constructor) (fallback_receive_definition "fallback" @constructor)
@ -64,7 +64,7 @@
(call_expression . (identifier) @function) (call_expression . (identifier) @function)
; Function parameters ; Function parameters
(event_paramater name: (identifier) @variable.parameter) (event_paramater name: (identifier) @variable.parameter) ; TODO fix spelling once fixed upstream
(function_definition (function_definition
function_name: (identifier) @variable.parameter) function_name: (identifier) @variable.parameter)
@ -131,7 +131,7 @@
(import_directive "as" @keyword) (import_directive "as" @keyword)
(import_directive "from" @keyword) (import_directive "from" @keyword)
(event_paramater "indexed" @keyword) (event_paramater "indexed" @keyword) ; TODO fix spelling once fixed upstream
; Punctuation ; Punctuation

View File

@ -1,7 +1,7 @@
; Keywords ; Keywords
[ [
; block delimeters ; block delimiters
(module_keyword) (module_keyword)
"endmodule" "endmodule"
"program" "program"

View File

@ -3,4 +3,4 @@
(function_body_declaration (function_body_declaration
(function_identifier (function_identifier
(function_identifier (function_identifier
(simple_identifier) @function.inside)))) @funtions.around (simple_identifier) @function.inside)))) @function.around

View File

@ -41,7 +41,7 @@
"constant.builtin" = "nord4" "constant.builtin" = "nord4"
"namespace" = "nord4" "namespace" = "nord4"
# nord5 - suble UI text # nord5 - subtle UI text
# nord6 - base text, punctuation # nord6 - base text, punctuation
"ui.text" = { fg = "nord6" } "ui.text" = { fg = "nord6" }

View File

@ -71,7 +71,7 @@ namespace = { fg = 'orangeL' }
'variable.other.member' = { fg = 'orangeH' } 'variable.other.member' = { fg = 'orangeH' }
'variable.function' = { fg = 'blueL' } 'variable.function' = { fg = 'blueL' }
'punctuation' = { fg = 'blueL' } 'punctuation' = { fg = 'blueL' }
'punctuation.delimeter' = { fg = 'blueH' } 'punctuation.delimiter' = { fg = 'blueH' }
'punctuation.bracket' = { fg = 'orangeN' } 'punctuation.bracket' = { fg = 'orangeN' }
'keyword' = { fg = 'blueH' } 'keyword' = { fg = 'blueH' }
'keyword.control' = { fg = 'blueL' } 'keyword.control' = { fg = 'blueL' }