chore: fix typos

This commit is contained in:
Dundar Göc 2021-11-01 22:35:31 +01:00 committed by Stephan Seitz
parent 968621dfad
commit 6a4fdb317d
15 changed files with 20 additions and 20 deletions

View file

@ -11,7 +11,7 @@
;; have multiple highlight groups applied to them.
;; >> Litterals
;; >> Literals
(
(dis_expr) @comment
@ -292,7 +292,7 @@
.
(_))
; Funciton definitions
; Function definitions
(list_lit
.
(sym_lit) @_keyword.function

View file

@ -6,7 +6,7 @@
(identifier) @definition.parameter))
(optional_parameter_declaration
declarator: (identifier) @definition.parameter)
;; Class / struct defintions
;; Class / struct definitions
(class_specifier) @scope
(reference_declarator
@ -42,7 +42,7 @@
((namespace_identifier) @reference
(set! reference.kind "namespace"))
;; Function defintions
;; Function definitions
(template_function
name: (identifier) @definition.function) @scope

View file

@ -30,7 +30,7 @@
; == Mustache Statements ===
; Hightlight the whole statement, to color brackets and separators
; Highlight the whole statement, to color brackets and separators
(mustache_statement) @tag.delimiter
; An identifier in a mustache expression is a variable

View file

@ -66,7 +66,7 @@
(quote_expression
(identifier)) @symbol
;; Parsing error! foo (::Type) get's parsed as two quote expressions
;; Parsing error! foo (::Type) gets parsed as two quote expressions
(argument_list
(quote_expression
(quote_expression

View file

@ -4,7 +4,7 @@
; Variables
(identifier) @variable
; Reset highlighing in f-string interpolations
; Reset highlighting in f-string interpolations
(interpolation) @none
;; Identifier naming conventions

View file

@ -1,4 +1,4 @@
;;; Programm structure
;;; Program structure
(module) @scope
(class_definition

View file

@ -12,9 +12,9 @@
; Assume other uppercase names constants.
; NOTE: In order to distinguish constants we highlight
; all the identifiers that are uppercased. But this solution
; is not suitable for all occurences e.g. it will highlight
; is not suitable for all occurrences e.g. it will highlight
; an uppercased method as a constant if used with no params.
; Introducing highlightning for those specific cases, is probably
; Introducing highlighting for those specific cases, is probably
; best way to resolve the issue.
((identifier) @constant (#match? @constant "^[A-Z]"))

View file

@ -83,7 +83,7 @@
"|"
] @punctuation.bracket
; Delimeters
; Delimiters
[
";"
"."