├── .gitignore ├── Contents ├── Info.plist └── Resources │ ├── AutocompleteAdditions.txt │ ├── English.lproj │ ├── InfoPlist.strings │ └── Localizable.strings │ ├── ModeSettings.xml │ ├── RegexSymbols.xml │ ├── Scripts │ └── Rot13.scpt │ ├── SyntaxDefinition.xml │ └── untitled.yml └── README.textile /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | -------------------------------------------------------------------------------- /Contents/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleIdentifier 6 | SEEMode.Example Syntax 7 | CFBundleName 8 | YAML 9 | CFBundleShortVersionString 10 | 1.0 11 | CFBundleVersion 12 | 1.0 13 | CFBundleGetInfoString 14 | 1.0, Copyright Manuel "StuFF mc" CARRASCO MOLINA 2010 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleInfoDictionaryVersion 18 | 6.0 19 | 20 | 21 | -------------------------------------------------------------------------------- /Contents/Resources/AutocompleteAdditions.txt: -------------------------------------------------------------------------------- 1 | de_DE 2 | en_GB 3 | -------------------------------------------------------------------------------- /Contents/Resources/English.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stuffmc/YAML.mode/e7c0f824951f8b7b10386e7cb0d88f84ce2a3ee0/Contents/Resources/English.lproj/InfoPlist.strings -------------------------------------------------------------------------------- /Contents/Resources/English.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stuffmc/YAML.mode/e7c0f824951f8b7b10386e7cb0d88f84ce2a3ee0/Contents/Resources/English.lproj/Localizable.strings -------------------------------------------------------------------------------- /Contents/Resources/ModeSettings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | yml 6 | yaml 7 | C 8 | 9 | 10 | -------------------------------------------------------------------------------- /Contents/Resources/RegexSymbols.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 27 | 28 | 29 | 39 | 40 | (function[^\n\r]*) 41 | 42 | 52 | 53 | 54 | \([^\)]*\) 55 | 56 | foo 57 | bar 58 | 59 | 60 | 61 | 62 | foobar 63 | 64 | 65 | -------------------------------------------------------------------------------- /Contents/Resources/Scripts/Rot13.scpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stuffmc/YAML.mode/e7c0f824951f8b7b10386e7cb0d88f84ce2a3ee0/Contents/Resources/Scripts/Rot13.scpt -------------------------------------------------------------------------------- /Contents/Resources/SyntaxDefinition.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 9 | 10 | 11 | 12 | 16 | 17 | YAML 18 | 19 | 20 | 21 | 22 | 30 | 31 | 32 | 33 | 34 | 35 | 40 | 41 | 42 | 43 | 44 | 50 | 51 | 52 | 53 | 82 | 83 | 84 | 85 | 109 | 110 | 111 | 112 | 116 | 117 | 119 | 120 | 127 | 128 | ^(.*?): 129 | 130 | 131 | 132 | 133 | de_DE 134 | en_GB 135 | 136 | 137 | 138 | 148 | 149 | 150 | 151 | (?:^|\s)# 152 | [\n\r] 153 | 154 | 155 | 156 | " 157 | (((?<!\\)(\\\\)*)|^)" 158 | 159 | foobar 160 | 161 | 162 | 163 | 179 | 180 | 181 | <(?=script) 182 | /script> 183 | 184 | 185 | 186 | 187 | (\A<\Z) 188 | (</script[^>]*>) 189 | 190 | 191 | 192 | \Ascript 193 | > 194 | 195 | 196 | 197 | 198 | 199 | 200 | 213 | 214 | 215 | 216 | (?:<%=?) 217 | (?:-?%>) 218 | 219 | 220 | 221 | (-?%>) 222 | (<%=?) 223 | 224 | 225 | 226 | 227 | 228 | 229 | 230 | -------------------------------------------------------------------------------- /Contents/Resources/untitled.yml: -------------------------------------------------------------------------------- 1 | --- 2 | en_GB: 3 | key: Value -------------------------------------------------------------------------------- /README.textile: -------------------------------------------------------------------------------- 1 | h1. YAML.mode 2 | 3 | YAML.mode is a YAML syntax definition for SubEthaEdit & Coda. This is a work in progress so please be patient ;) 4 | 5 | h2. Usage 6 | 7 | h3. Installation 8 | 9 | Simply check out this repo into either ~/Library/Application Support/Coda/Modes or ~/Library/Application Support/SubEthaEdit/Modes, be sure to name the directory YAML.mode. 10 | 11 | h2. Author 12 | 13 | Written by StuFF mc - "Pomcast.biz":http://pomcast.biz/ 14 | 15 | h3. Credits 16 | 17 | Thanks to "Panic":http://www.panic.com/ for creating a kick-ass IDE! But also to "The Coding Monkeys":http://codingmonkeys.de for previously doing a kick-ass text editor! Finally, thanks to "the HAML.mode creator":http://github.com/gf3/haml.mode for being the inspiration of this README :-) 18 | --------------------------------------------------------------------------------