ada(highlights,folds,locals): update to parser changes

This commit is contained in:
Emmanuel Briot 2023-02-14 11:26:04 +01:00 committed by Christian Clason
parent ad9ae9e7de
commit 4db6696672
4 changed files with 7 additions and 5 deletions

View file

@ -3,7 +3,7 @@
;; See https://tree-sitter.github.io/tree-sitter/syntax-highlighting#local-variables
(compilation) @scope
(package_specification) @scope
(package_declaration) @scope
(package_body) @scope
(subprogram_declaration) @scope
(subprogram_body) @scope
@ -12,7 +12,7 @@
(with_clause (identifier) @definition.import)
(procedure_specification name: (_) @definition.function)
(function_specification name: (_) @definition.function)
(package_specification name: (_) @definition.var)
(package_declaration name: (_) @definition.var)
(package_body name: (_) @definition.var)
(generic_instantiation . name: (_) @definition.var)
(component_declaration . (identifier) @definition.var)