├── Snippets ├── use ___;.tmSnippet ├── with ___;.tmSnippet ├── access.tmSnippet ├── aliased.tmSnippet ├── return ___;.tmSnippet ├── type ___ is ___.tmSnippet ├── when ___ =>.tmSnippet ├── begin ___ end.tmSnippet ├── elsif ___ then.tmSnippet ├── package ___ is ___.tmSnippet ├── if ___ end if.tmSnippet ├── loop ___ end loop.tmSnippet ├── with ___; use ___;.tmSnippet ├── package ___ end.tmSnippet ├── record ___ end record.tmSnippet ├── case ___ is ___ end case;.tmSnippet ├── package body ___ end.tmSnippet ├── for ___ loop ___ end loop.tmSnippet ├── while ___ loop ___ end loop.tmSnippet ├── function ___ end.tmSnippet └── procedure ___ end.tmSnippet ├── Preferences ├── Symbol List: Exclude.tmPreferences ├── Comments.tmPreferences └── Miscellaneous.tmPreferences ├── README.mdown ├── Commands └── Build and Run.tmCommand ├── info.plist └── Syntaxes └── Ada.plist /Snippets/use ___;.tmSnippet: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | content 6 | use $1; 7 | name 8 | use …; 9 | scope 10 | source.ada 11 | tabTrigger 12 | u 13 | uuid 14 | 95D1567C-BEF0-4789-8F80-670429412C42 15 | 16 | 17 | -------------------------------------------------------------------------------- /Snippets/with ___;.tmSnippet: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | content 6 | with $1; 7 | name 8 | with …; 9 | scope 10 | source.ada 11 | tabTrigger 12 | w 13 | uuid 14 | 42B4DBB3-0B36-4DC8-B6B6-AC887E281FA1 15 | 16 | 17 | -------------------------------------------------------------------------------- /Snippets/access.tmSnippet: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | content 6 | access 7 | name 8 | access 9 | scope 10 | source.ada 11 | tabTrigger 12 | acc 13 | uuid 14 | ABD8A792-ED3A-49CF-A057-55F6BCF697C8 15 | 16 | 17 | -------------------------------------------------------------------------------- /Snippets/aliased.tmSnippet: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | content 6 | aliased 7 | name 8 | aliased 9 | scope 10 | source.ada 11 | tabTrigger 12 | ali 13 | uuid 14 | 027DBE64-33F2-46FF-BCFD-AF74048462A0 15 | 16 | 17 | -------------------------------------------------------------------------------- /Snippets/return ___;.tmSnippet: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | content 6 | return $1; 7 | name 8 | return …; 9 | scope 10 | source.ada 11 | tabTrigger 12 | ret 13 | uuid 14 | BE6D1472-31AC-40BD-9CF4-A36AD0D12108 15 | 16 | 17 | -------------------------------------------------------------------------------- /Snippets/type ___ is ___.tmSnippet: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | content 6 | type $1 is $0 7 | name 8 | type … is … 9 | scope 10 | source.ada 11 | tabTrigger 12 | ty 13 | uuid 14 | 04FB59C5-E80D-4161-9398-EF89E580DA27 15 | 16 | 17 | -------------------------------------------------------------------------------- /Snippets/when ___ =>.tmSnippet: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | content 6 | when $1 => 7 | $0 8 | name 9 | when … => 10 | scope 11 | source.ada 12 | tabTrigger 13 | when 14 | uuid 15 | FA29C0B9-8B2C-497A-8625-93CBE65B2FB4 16 | 17 | 18 | -------------------------------------------------------------------------------- /Snippets/begin ___ end.tmSnippet: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | content 6 | begin 7 | $0 8 | end; 9 | name 10 | begin … end 11 | scope 12 | source.ada 13 | tabTrigger 14 | beg 15 | uuid 16 | C58D4CCC-FA03-4E0F-B784-A718A518D6E7 17 | 18 | 19 | -------------------------------------------------------------------------------- /Snippets/elsif ___ then.tmSnippet: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | content 6 | elsif $1 then 7 | $0 8 | name 9 | elsif … then 10 | scope 11 | source.ada 12 | tabTrigger 13 | eli 14 | uuid 15 | 3F30D950-757D-4058-96A9-672E563525F1 16 | 17 | 18 | -------------------------------------------------------------------------------- /Snippets/package ___ is ___.tmSnippet: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | content 6 | package $1 is $0 7 | name 8 | package … is … 9 | scope 10 | source.ada 11 | tabTrigger 12 | pne 13 | uuid 14 | 9724A01C-713E-448C-A180-425FE8520ECF 15 | 16 | 17 | -------------------------------------------------------------------------------- /Snippets/if ___ end if.tmSnippet: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | content 6 | if $1 then 7 | $0 8 | end if; 9 | name 10 | if … end if 11 | scope 12 | source.ada 13 | tabTrigger 14 | if 15 | uuid 16 | B93CFE75-1E71-460F-AC89-ECE1F9A7B773 17 | 18 | 19 | -------------------------------------------------------------------------------- /Snippets/loop ___ end loop.tmSnippet: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | content 6 | loop 7 | $0 8 | end loop; 9 | name 10 | loop … end loop 11 | scope 12 | source.ada 13 | tabTrigger 14 | loop 15 | uuid 16 | CCCAC2F0-D146-4043-88E1-8C84633F42B3 17 | 18 | 19 | -------------------------------------------------------------------------------- /Snippets/with ___; use ___;.tmSnippet: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | content 6 | with ${1}; use $1; 7 | $0 8 | name 9 | with …; use …; 10 | scope 11 | source.ada 12 | tabTrigger 13 | wu 14 | uuid 15 | E5957DD4-D97A-47AB-87E1-267D938259CE 16 | 17 | 18 | -------------------------------------------------------------------------------- /Snippets/package ___ end.tmSnippet: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | content 6 | package ${1:name} is 7 | $0 8 | end $1; 9 | name 10 | package … end 11 | scope 12 | source.ada 13 | tabTrigger 14 | pac 15 | uuid 16 | A385AA17-D14C-48B5-BA64-2868ECA68222 17 | 18 | 19 | -------------------------------------------------------------------------------- /Snippets/record ___ end record.tmSnippet: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | content 6 | record 7 | $0 8 | end record; 9 | name 10 | record … end record 11 | scope 12 | source.ada 13 | tabTrigger 14 | rec 15 | uuid 16 | DA34BE18-1470-4206-8656-A9E969E42F93 17 | 18 | 19 | -------------------------------------------------------------------------------- /Snippets/case ___ is ___ end case;.tmSnippet: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | content 6 | case $1 is 7 | $0 8 | end case; 9 | name 10 | case … is … end case; 11 | scope 12 | source.ada 13 | tabTrigger 14 | case 15 | uuid 16 | A363AC42-723E-4717-BB5D-72A5CC5CA5C5 17 | 18 | 19 | -------------------------------------------------------------------------------- /Snippets/package body ___ end.tmSnippet: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | content 6 | package body ${1:name} is 7 | $0 8 | end $1; 9 | name 10 | package body … end 11 | scope 12 | source.ada 13 | tabTrigger 14 | pbo 15 | uuid 16 | 2AE6872F-0DB4-467F-9BC2-7F0C36FCA650 17 | 18 | 19 | -------------------------------------------------------------------------------- /Snippets/for ___ loop ___ end loop.tmSnippet: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | content 6 | for $1 in $2 loop 7 | $0 8 | end loop; 9 | name 10 | for … loop … end loop 11 | scope 12 | source.ada 13 | tabTrigger 14 | for 15 | uuid 16 | 7081013B-6D7F-4EDD-B662-69C339109802 17 | 18 | 19 | -------------------------------------------------------------------------------- /Snippets/while ___ loop ___ end loop.tmSnippet: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | content 6 | while $1 loop 7 | $0 8 | end loop; 9 | name 10 | while … loop … end loop 11 | scope 12 | source.ada 13 | tabTrigger 14 | whi 15 | uuid 16 | 63F613E4-787C-4B6C-9C85-82C9AD1916F3 17 | 18 | 19 | -------------------------------------------------------------------------------- /Snippets/function ___ end.tmSnippet: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | content 6 | function ${1:name} return $2 is 7 | $3 8 | begin -- $1 9 | $0 10 | end $1; 11 | name 12 | function … end 13 | scope 14 | source.ada 15 | tabTrigger 16 | fun 17 | uuid 18 | 94AD4EEB-566B-4A5E-9D4F-F723330593CE 19 | 20 | 21 | -------------------------------------------------------------------------------- /Preferences/Symbol List: Exclude.tmPreferences: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | name 6 | Symbol List: Exclude 7 | scope 8 | source.ada meta.import entity.name.function, source.ada meta.function.end entity.name.function 9 | settings 10 | 11 | showInSymbolList 12 | 13 | 14 | uuid 15 | 539EB7F7-B069-4E01-889F-FE5BBEB5B03B 16 | 17 | 18 | -------------------------------------------------------------------------------- /Snippets/procedure ___ end.tmSnippet: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | content 6 | procedure ${1:Procedure} is 7 | $2 8 | begin -- ${1/([a-zA-Z0-9_]*).*$/$1/} 9 | $0 10 | end ${1/([a-zA-Z0-9_]*).*$/$1/}; 11 | name 12 | procedure … end 13 | scope 14 | source.ada 15 | tabTrigger 16 | pro 17 | uuid 18 | 14543854-D4EC-48E5-8F0B-2663F288DCBE 19 | 20 | 21 | -------------------------------------------------------------------------------- /Preferences/Comments.tmPreferences: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | name 6 | Comments 7 | scope 8 | source.ada 9 | settings 10 | 11 | shellVariables 12 | 13 | 14 | name 15 | TM_COMMENT_START 16 | value 17 | -- 18 | 19 | 20 | 21 | uuid 22 | 93AE966F-B971-4709-87AE-F7274F113A40 23 | 24 | 25 | -------------------------------------------------------------------------------- /Preferences/Miscellaneous.tmPreferences: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | name 6 | Miscellaneous 7 | scope 8 | source.ada 9 | settings 10 | 11 | increaseIndentPattern 12 | \b(?i:(loop|declare|begin|exception|when|is|then|else|task)[^;]*$)\b 13 | decreaseIndentPattern 14 | \b(begin|end|else)\b 15 | foldingStartMarker 16 | \b(?i:(procedure|package|function|task|type|loop|declare)[^;]*$) 17 | foldingStopMarker 18 | \b(?i:(end))\b 19 | 20 | uuid 21 | D6D3DAAA-49B9-46C7-AFB4-C3BD4927C5EB 22 | 23 | 24 | -------------------------------------------------------------------------------- /README.mdown: -------------------------------------------------------------------------------- 1 | # Installation 2 | 3 | You can install this bundle in TextMate by opening the preferences and going to the bundles tab. After installation it will be automatically updated for you. 4 | 5 | # General 6 | 7 | * [Bundle Styleguide](http://kb.textmate.org/bundle_styleguide) — _before you make changes_ 8 | * [Commit Styleguide](http://kb.textmate.org/commit_styleguide) — _before you send a pull request_ 9 | * [Writing Bug Reports](http://kb.textmate.org/writing_bug_reports) — _before you report an issue_ 10 | 11 | # License 12 | 13 | If not otherwise specified (see below), files in this repository fall under the following license: 14 | 15 | Permission to copy, use, modify, sell and distribute this 16 | software is granted. This software is provided "as is" without 17 | express or implied warranty, and with no claim as to its 18 | suitability for any purpose. 19 | 20 | An exception is made for files in readable text which contain their own license information, or files where an accompanying file exists (in the same directory) with a “-license” suffix added to the base-name name of the original file, and an extension of txt, html, or similar. For example “tidy” is accompanied by “tidy-license.txt”. -------------------------------------------------------------------------------- /Commands/Build and Run.tmCommand: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | beforeRunningCommand 6 | nop 7 | command 8 | #!/usr/bin/env bash 9 | [[ -f "${TM_SUPPORT_PATH}/lib/bash_init.sh" ]] && . "${TM_SUPPORT_PATH}/lib/bash_init.sh" 10 | 11 | #cd "$TM_DIRECTORY" 12 | #gnatmake "$TM_FILENAME" 13 | #if [[ $? == 0 ]]; then 14 | # SCRIPT="TM_DIRECTORY=$TM_DIRECTORY"$'\nTM_FILENAME='"$TM_FILENAME"$'\ncd #"$TM_DIRECTORY" && clear && "./${TM_FILENAME%.*}" && exit' 15 | # osascript <<APPLESCRIPT 16 | # tell app "Terminal" 17 | # activate 18 | # do script "${SCRIPT//\"/\"}" 19 | # end tell 20 | #APPLESCRIPT 21 | #fi 22 | 23 | . "$TM_SUPPORT_PATH/lib/webpreview.sh" 24 | html_header "Compiling “${TM_FILENAME}”…" 25 | 26 | cd "$TM_DIRECTORY" 27 | "${TM_GNATMAKE:-gnatmake}" "$TM_FILENAME" &> >(ruby18 -rtm_parser -eTextMate.parse_errors) 28 | if (($? >= 1)); then exit; fi 29 | 30 | { "./${TM_FILENAME%.adb}" 31 | echo -e "\nProgram exited with status $?."; }|pre 32 | 33 | # # if you want to run the program in Terminal.app 34 | # osascript <<EOF 35 | # tell application "Terminal" 36 | # activate 37 | # do script "cd '$TM_DIRECTORY'; java '${TM_FILENAME%.java}'" 38 | # end tell 39 | # EOF 40 | 41 | html_footer 42 | 43 | input 44 | selection 45 | inputFormat 46 | text 47 | keyEquivalent 48 | @r 49 | name 50 | Build and Run 51 | outputCaret 52 | afterOutput 53 | outputFormat 54 | html 55 | outputLocation 56 | newWindow 57 | requiredCommands 58 | 59 | 60 | command 61 | gnatmake 62 | locations 63 | 64 | /usr/local/ada-4.2/bin/gnatmake 65 | /usr/local/ada-4.3/bin/gnatmake 66 | /usr/local/gnat/bin/gnatmake 67 | 68 | variable 69 | TM_GNATMAKE 70 | 71 | 72 | scope 73 | source.ada 74 | uuid 75 | 97B21BF7-073D-4070-850C-DD8761B18DBC 76 | version 77 | 2 78 | 79 | 80 | -------------------------------------------------------------------------------- /info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | contactEmailRot13 6 | puevf@pwnpx.pbz 7 | contactName 8 | Chris Thomas 9 | description 10 | Minimal support for <a href="http://en.wikipedia.org/wiki/Ada_(programming_language)">Ada</a>. 11 | mainMenu 12 | 13 | items 14 | 15 | 97B21BF7-073D-4070-850C-DD8761B18DBC 16 | ------------------------------------ 17 | 027DBE64-33F2-46FF-BCFD-AF74048462A0 18 | ABD8A792-ED3A-49CF-A057-55F6BCF697C8 19 | ------------------------------------ 20 | 6247CC66-6AF4-4210-A417-104DA8FD8E37 21 | 22776031-2D11-4E49-B980-854068DB94F0 22 | 23 | submenus 24 | 25 | 22776031-2D11-4E49-B980-854068DB94F0 26 | 27 | items 28 | 29 | 14543854-D4EC-48E5-8F0B-2663F288DCBE 30 | A385AA17-D14C-48B5-BA64-2868ECA68222 31 | 2AE6872F-0DB4-467F-9BC2-7F0C36FCA650 32 | 94AD4EEB-566B-4A5E-9D4F-F723330593CE 33 | DA34BE18-1470-4206-8656-A9E969E42F93 34 | 9724A01C-713E-448C-A180-425FE8520ECF 35 | 04FB59C5-E80D-4161-9398-EF89E580DA27 36 | 42B4DBB3-0B36-4DC8-B6B6-AC887E281FA1 37 | E5957DD4-D97A-47AB-87E1-267D938259CE 38 | 95D1567C-BEF0-4789-8F80-670429412C42 39 | 40 | name 41 | Definitions 42 | 43 | 6247CC66-6AF4-4210-A417-104DA8FD8E37 44 | 45 | items 46 | 47 | 7081013B-6D7F-4EDD-B662-69C339109802 48 | 63F613E4-787C-4B6C-9C85-82C9AD1916F3 49 | CCCAC2F0-D146-4043-88E1-8C84633F42B3 50 | A363AC42-723E-4717-BB5D-72A5CC5CA5C5 51 | B93CFE75-1E71-460F-AC89-ECE1F9A7B773 52 | 3F30D950-757D-4058-96A9-672E563525F1 53 | FA29C0B9-8B2C-497A-8625-93CBE65B2FB4 54 | C58D4CCC-FA03-4E0F-B784-A718A518D6E7 55 | BE6D1472-31AC-40BD-9CF4-A36AD0D12108 56 | 57 | name 58 | Control Flow 59 | 60 | 61 | 62 | name 63 | Ada 64 | ordering 65 | 66 | 0AB8A36E-6B1D-11D9-B034-000D93589AF6 67 | D6D3DAAA-49B9-46C7-AFB4-C3BD4927C5EB 68 | 93AE966F-B971-4709-87AE-F7274F113A40 69 | 97B21BF7-073D-4070-850C-DD8761B18DBC 70 | 14543854-D4EC-48E5-8F0B-2663F288DCBE 71 | A385AA17-D14C-48B5-BA64-2868ECA68222 72 | 9724A01C-713E-448C-A180-425FE8520ECF 73 | 04FB59C5-E80D-4161-9398-EF89E580DA27 74 | 2AE6872F-0DB4-467F-9BC2-7F0C36FCA650 75 | 42B4DBB3-0B36-4DC8-B6B6-AC887E281FA1 76 | BE6D1472-31AC-40BD-9CF4-A36AD0D12108 77 | 027DBE64-33F2-46FF-BCFD-AF74048462A0 78 | ABD8A792-ED3A-49CF-A057-55F6BCF697C8 79 | E5957DD4-D97A-47AB-87E1-267D938259CE 80 | 95D1567C-BEF0-4789-8F80-670429412C42 81 | 94AD4EEB-566B-4A5E-9D4F-F723330593CE 82 | 7081013B-6D7F-4EDD-B662-69C339109802 83 | 63F613E4-787C-4B6C-9C85-82C9AD1916F3 84 | CCCAC2F0-D146-4043-88E1-8C84633F42B3 85 | A363AC42-723E-4717-BB5D-72A5CC5CA5C5 86 | B93CFE75-1E71-460F-AC89-ECE1F9A7B773 87 | 3F30D950-757D-4058-96A9-672E563525F1 88 | FA29C0B9-8B2C-497A-8625-93CBE65B2FB4 89 | C58D4CCC-FA03-4E0F-B784-A718A518D6E7 90 | DA34BE18-1470-4206-8656-A9E969E42F93 91 | 92 | uuid 93 | 46758957-6227-11D9-BFB1-000D93589AF6 94 | 95 | 96 | -------------------------------------------------------------------------------- /Syntaxes/Ada.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | comment 6 | Ada -- chris@cjack.com. Feel free to modify, distribute, be happy. Share and enjoy. 7 | fileTypes 8 | 9 | adb 10 | ads 11 | 12 | keyEquivalent 13 | ^~A 14 | name 15 | Ada 16 | patterns 17 | 18 | 19 | captures 20 | 21 | 1 22 | 23 | name 24 | storage.type.function.ada 25 | 26 | 2 27 | 28 | name 29 | entity.name.function.ada 30 | 31 | 32 | match 33 | \b(?i:(function|procedure))\b\s+(\w+(\.\w+)?|"(?:\+|-|=|\*|/)") 34 | name 35 | meta.function.ada 36 | 37 | 38 | captures 39 | 40 | 1 41 | 42 | name 43 | storage.type.package.ada 44 | 45 | 2 46 | 47 | name 48 | keyword.other.body.ada 49 | 50 | 3 51 | 52 | name 53 | entity.name.type.package.ada 54 | 55 | 56 | match 57 | \b(?i:(package)(?:\b\s+(body))?)\b\s+(\w+(\.\w+)*|"(?:\+|-|=|\*|/)") 58 | name 59 | meta.function.ada 60 | 61 | 62 | captures 63 | 64 | 1 65 | 66 | name 67 | storage.type.function.ada 68 | 69 | 2 70 | 71 | name 72 | entity.name.function.ada 73 | 74 | 75 | match 76 | \b(?i:(end))\b\s+(\w+(\.\w+)*|"(\+|-|=|\*|/)")\s?; 77 | name 78 | meta.function.end.ada 79 | 80 | 81 | captures 82 | 83 | 1 84 | 85 | name 86 | keyword.control.import.limited.ada 87 | 88 | 2 89 | 90 | name 91 | keyword.control.import.private.ada 92 | 93 | 3 94 | 95 | name 96 | keyword.control.import.ada 97 | 98 | 4 99 | 100 | name 101 | entity.name.function.ada 102 | 103 | 104 | match 105 | ^\s*(?:(limited)\s+)?(?:(private)\s+)?(with)\s+(\w+(\.\w+)*)\s*; 106 | name 107 | meta.import.ada 108 | 109 | 110 | match 111 | \b(?i:(begin|end|package))\b 112 | name 113 | keyword.control.ada 114 | 115 | 116 | match 117 | \b(?i:(\=>|abort|abs|abstract|accept|access|aliased|all|and|array|at|body|case|constant|declare|delay|delta|digits|do|else|elsif|entry|exception|exit|for|function|generic|goto|if|in|interface|is|limited|loop|mod|new|not|null|of|or|others|out|overriding|pragma|private|procedure|protected|raise|range|record|rem|renames|requeue|return|reverse|select|separate|some|subtype|synchronized|tagged|task|terminate|then|type|until|use|when|while|with|xor))\b 118 | name 119 | keyword.other.ada 120 | 121 | 122 | match 123 | \b(?i:([0-9](_?[0-9])*((#[0-9a-f](_?[0-9a-f])*#((e(\+|-)?[0-9](_?[0-9])*\b)|\B))|((\.[0-9](_?[0-9])*)?(e(\+|-)?[0-9](_?[0-9])*)?\b)))) 124 | name 125 | constant.numeric.ada 126 | 127 | 128 | begin 129 | " 130 | beginCaptures 131 | 132 | 0 133 | 134 | name 135 | punctuation.definition.string.begin.ada 136 | 137 | 138 | end 139 | "(?!") 140 | endCaptures 141 | 142 | 0 143 | 144 | name 145 | punctuation.definition.string.end.ada 146 | 147 | 148 | name 149 | string.quoted.double.ada 150 | patterns 151 | 152 | 153 | match 154 | "" 155 | name 156 | constant.character.escape.ada 157 | 158 | 159 | match 160 | \n 161 | name 162 | invalid.illegal.lf-in-string.ada 163 | 164 | 165 | 166 | 167 | captures 168 | 169 | 1 170 | 171 | name 172 | punctuation.definition.string.begin.ada 173 | 174 | 2 175 | 176 | name 177 | punctuation.definition.string.end.ada 178 | 179 | 180 | match 181 | (').(') 182 | name 183 | string.quoted.single.ada 184 | 185 | 186 | begin 187 | (^[ \t]+)?(?=--) 188 | beginCaptures 189 | 190 | 1 191 | 192 | name 193 | punctuation.whitespace.comment.leading.ada 194 | 195 | 196 | end 197 | (?!\G) 198 | patterns 199 | 200 | 201 | begin 202 | -- 203 | beginCaptures 204 | 205 | 0 206 | 207 | name 208 | punctuation.definition.comment.ada 209 | 210 | 211 | end 212 | \n 213 | name 214 | comment.line.double-dash.ada 215 | 216 | 217 | 218 | 219 | scopeName 220 | source.ada 221 | uuid 222 | 0AB8A36E-6B1D-11D9-B034-000D93589AF6 223 | 224 | 225 | --------------------------------------------------------------------------------