Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'runtime/queries/ada/highlights.scm')
-rw-r--r--runtime/queries/ada/highlights.scm9
1 files changed, 8 insertions, 1 deletions
diff --git a/runtime/queries/ada/highlights.scm b/runtime/queries/ada/highlights.scm
index 6367305a..643fbd66 100644
--- a/runtime/queries/ada/highlights.scm
+++ b/runtime/queries/ada/highlights.scm
@@ -1,3 +1,9 @@
+;; highlight queries.
+;; See the syntax at https://tree-sitter.github.io/tree-sitter/using-parsers#pattern-matching-with-queries
+;; See also https://github.com/nvim-treesitter/nvim-treesitter/blob/master/CONTRIBUTING.md#parser-configurations
+;; for a list of recommended @ tags, though not all of them have matching
+;; highlights in neovim.
+
[
"abort"
"abs"
@@ -75,7 +81,7 @@
"parallel"
"reverse"
"some"
-] @keyword.control.repeat
+] @kewyord.control.repeat
[
"return"
] @keyword.control.return
@@ -114,6 +120,7 @@
(loop_statement "end" @keyword.control.repeat)
(if_statement "end" @keyword.control.conditional)
(loop_parameter_specification "in" @keyword.control.repeat)
+(loop_parameter_specification "in" @keyword.control.repeat)
(iterator_specification ["in" "of"] @keyword.control.repeat)
(range_attribute_designator "range" @keyword.control.repeat)