diff options
| author | Dundar Göc <gocdundar@gmail.com> | 2021-11-01 22:35:31 +0100 |
|---|---|---|
| committer | Stephan Seitz <stephan.seitz@fau.de> | 2021-11-02 23:47:48 +0100 |
| commit | 6a4fdb317d42a8462621764ff97ad3bc8ff496cf (patch) | |
| tree | 7bb071c1bbfb03f91fcc03423a403888c4ff6246 /queries | |
| parent | Add `ftdetect` setup for `glimmer` parser. (#1973) (diff) | |
| download | nvim-treesitter-6a4fdb317d42a8462621764ff97ad3bc8ff496cf.tar nvim-treesitter-6a4fdb317d42a8462621764ff97ad3bc8ff496cf.tar.gz nvim-treesitter-6a4fdb317d42a8462621764ff97ad3bc8ff496cf.tar.bz2 nvim-treesitter-6a4fdb317d42a8462621764ff97ad3bc8ff496cf.tar.lz nvim-treesitter-6a4fdb317d42a8462621764ff97ad3bc8ff496cf.tar.xz nvim-treesitter-6a4fdb317d42a8462621764ff97ad3bc8ff496cf.tar.zst nvim-treesitter-6a4fdb317d42a8462621764ff97ad3bc8ff496cf.zip | |
chore: fix typos
Diffstat (limited to 'queries')
| -rw-r--r-- | queries/clojure/highlights.scm | 4 | ||||
| -rw-r--r-- | queries/cpp/locals.scm | 4 | ||||
| -rw-r--r-- | queries/glimmer/highlights.scm | 2 | ||||
| -rw-r--r-- | queries/julia/highlights.scm | 2 | ||||
| -rw-r--r-- | queries/python/highlights.scm | 2 | ||||
| -rw-r--r-- | queries/python/locals.scm | 2 | ||||
| -rw-r--r-- | queries/scala/highlights.scm | 4 | ||||
| -rw-r--r-- | queries/supercollider/highlights.scm | 2 |
8 files changed, 11 insertions, 11 deletions
diff --git a/queries/clojure/highlights.scm b/queries/clojure/highlights.scm index 0fbeb0e28..e8fd61145 100644 --- a/queries/clojure/highlights.scm +++ b/queries/clojure/highlights.scm @@ -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 diff --git a/queries/cpp/locals.scm b/queries/cpp/locals.scm index 9c3ee9862..39cc8245d 100644 --- a/queries/cpp/locals.scm +++ b/queries/cpp/locals.scm @@ -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 diff --git a/queries/glimmer/highlights.scm b/queries/glimmer/highlights.scm index e6ab3a60e..bcb9c8b5d 100644 --- a/queries/glimmer/highlights.scm +++ b/queries/glimmer/highlights.scm @@ -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 diff --git a/queries/julia/highlights.scm b/queries/julia/highlights.scm index c24bd68b4..851298439 100644 --- a/queries/julia/highlights.scm +++ b/queries/julia/highlights.scm @@ -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 diff --git a/queries/python/highlights.scm b/queries/python/highlights.scm index 4bb5a2bcf..5f587ddc6 100644 --- a/queries/python/highlights.scm +++ b/queries/python/highlights.scm @@ -4,7 +4,7 @@ ; Variables (identifier) @variable -; Reset highlighing in f-string interpolations +; Reset highlighting in f-string interpolations (interpolation) @none ;; Identifier naming conventions diff --git a/queries/python/locals.scm b/queries/python/locals.scm index f7854a06c..5cfd35435 100644 --- a/queries/python/locals.scm +++ b/queries/python/locals.scm @@ -1,4 +1,4 @@ -;;; Programm structure +;;; Program structure (module) @scope (class_definition diff --git a/queries/scala/highlights.scm b/queries/scala/highlights.scm index 6f47babb3..d8b39950e 100644 --- a/queries/scala/highlights.scm +++ b/queries/scala/highlights.scm @@ -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]")) diff --git a/queries/supercollider/highlights.scm b/queries/supercollider/highlights.scm index 5e7a39e8b..c7e2cd398 100644 --- a/queries/supercollider/highlights.scm +++ b/queries/supercollider/highlights.scm @@ -83,7 +83,7 @@ "|" ] @punctuation.bracket -; Delimeters +; Delimiters [ ";" "." |
