From 1378b911b63f4fdab7beba77de6d54f1dd070553 Mon Sep 17 00:00:00 2001 From: A-Walrus Date: Wed, 6 Jul 2022 05:49:54 +0300 Subject: Fix some typos (#2978) --- runtime/queries/elm/highlights.scm | 2 +- runtime/queries/git-commit/highlights.scm | 2 +- runtime/queries/kotlin/highlights.scm | 2 +- runtime/queries/lean/highlights.scm | 2 +- runtime/queries/make/highlights.scm | 2 +- runtime/queries/solidity/highlights.scm | 6 +++--- runtime/queries/verilog/highlights.scm | 2 +- runtime/queries/verilog/textobjects.scm | 2 +- 8 files changed, 10 insertions(+), 10 deletions(-) (limited to 'runtime/queries') diff --git a/runtime/queries/elm/highlights.scm b/runtime/queries/elm/highlights.scm index 3c8fd12d..d02b3a5c 100644 --- a/runtime/queries/elm/highlights.scm +++ b/runtime/queries/elm/highlights.scm @@ -49,7 +49,7 @@ ] @keyword -(import) @keyword.contol.import +(import) @keyword.control.import (module) @keyword.other (number_constant_expr) @constant.numeric diff --git a/runtime/queries/git-commit/highlights.scm b/runtime/queries/git-commit/highlights.scm index bdb776d6..20f58ee5 100644 --- a/runtime/queries/git-commit/highlights.scm +++ b/runtime/queries/git-commit/highlights.scm @@ -10,5 +10,5 @@ (change kind: "modified" @diff.delta) (change kind: "renamed" @diff.delta.moved) -[":" "->" (scissors)] @punctuation.delimeter +[":" "->" (scissors)] @punctuation.delimiter (comment) @comment diff --git a/runtime/queries/kotlin/highlights.scm b/runtime/queries/kotlin/highlights.scm index 7b90fcf9..208a673f 100644 --- a/runtime/queries/kotlin/highlights.scm +++ b/runtime/queries/kotlin/highlights.scm @@ -217,7 +217,7 @@ (function_declaration . (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 (label) @label diff --git a/runtime/queries/lean/highlights.scm b/runtime/queries/lean/highlights.scm index a64feb1d..ca19b835 100644 --- a/runtime/queries/lean/highlights.scm +++ b/runtime/queries/lean/highlights.scm @@ -197,7 +197,7 @@ (interpolated_string) @string ; (escape_sequence) @string.escape -; Reset highlighing in string interpolation +; Reset highlighting in string interpolation (interpolation) @none (interpolation diff --git a/runtime/queries/make/highlights.scm b/runtime/queries/make/highlights.scm index 50380baf..5aef8e0f 100644 --- a/runtime/queries/make/highlights.scm +++ b/runtime/queries/make/highlights.scm @@ -155,7 +155,7 @@ (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)$")) -;; Standart targets +;; Standard targets (targets (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)$")) diff --git a/runtime/queries/solidity/highlights.scm b/runtime/queries/solidity/highlights.scm index 61c89ac8..544cf3d9 100644 --- a/runtime/queries/solidity/highlights.scm +++ b/runtime/queries/solidity/highlights.scm @@ -50,7 +50,7 @@ name: (identifier) @function) (yul_evm_builtin) @function.builtin -; Use contructor coloring for special functions +; Use constructor coloring for special functions (constructor_definition "constructor" @constructor) (fallback_receive_definition "receive" @constructor) (fallback_receive_definition "fallback" @constructor) @@ -64,7 +64,7 @@ (call_expression . (identifier) @function) ; Function parameters -(event_paramater name: (identifier) @variable.parameter) +(event_paramater name: (identifier) @variable.parameter) ; TODO fix spelling once fixed upstream (function_definition function_name: (identifier) @variable.parameter) @@ -131,7 +131,7 @@ (import_directive "as" @keyword) (import_directive "from" @keyword) -(event_paramater "indexed" @keyword) +(event_paramater "indexed" @keyword) ; TODO fix spelling once fixed upstream ; Punctuation diff --git a/runtime/queries/verilog/highlights.scm b/runtime/queries/verilog/highlights.scm index 97ec06e3..a194ac33 100644 --- a/runtime/queries/verilog/highlights.scm +++ b/runtime/queries/verilog/highlights.scm @@ -1,7 +1,7 @@ ; Keywords [ - ; block delimeters + ; block delimiters (module_keyword) "endmodule" "program" diff --git a/runtime/queries/verilog/textobjects.scm b/runtime/queries/verilog/textobjects.scm index 3b1c0fe5..f940832a 100644 --- a/runtime/queries/verilog/textobjects.scm +++ b/runtime/queries/verilog/textobjects.scm @@ -3,4 +3,4 @@ (function_body_declaration (function_identifier (function_identifier - (simple_identifier) @function.inside)))) @funtions.around \ No newline at end of file + (simple_identifier) @function.inside)))) @function.around \ No newline at end of file -- cgit v1.2.3-70-g09d2