ver 2009.10.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGELOG +1404 -0
- data/MANIFEST +187 -0
- data/Rakefile +30 -0
- data/TODO +169 -0
- data/bin/ver +19 -0
- data/config/detect.rb +109 -0
- data/config/keymap/vim.rb +239 -0
- data/config/rc.rb +0 -0
- data/config/scratch +3 -0
- data/config/syntax/ANTLR.json +275 -0
- data/config/syntax/ASP VB.net.json +228 -0
- data/config/syntax/ASP.json +135 -0
- data/config/syntax/ActionScript.json +168 -0
- data/config/syntax/Ada.json +108 -0
- data/config/syntax/Apache.json +342 -0
- data/config/syntax/AppleScript.json +721 -0
- data/config/syntax/Bibtex.json +253 -0
- data/config/syntax/Blog (HTML).json +47 -0
- data/config/syntax/Blog (Markdown).json +50 -0
- data/config/syntax/Blog (Text).json +45 -0
- data/config/syntax/Blog (Textile).json +45 -0
- data/config/syntax/Bulletin Board.json +428 -0
- data/config/syntax/C++.json +323 -0
- data/config/syntax/C.json +694 -0
- data/config/syntax/CSS.json +346 -0
- data/config/syntax/DOT.json +79 -0
- data/config/syntax/Diff.json +136 -0
- data/config/syntax/Dylan.json +104 -0
- data/config/syntax/Eiffel.json +128 -0
- data/config/syntax/Erlang.json +1636 -0
- data/config/syntax/F-Script.json +137 -0
- data/config/syntax/FXScript.json +260 -0
- data/config/syntax/Gri.json +141 -0
- data/config/syntax/HTML (Mason).json +207 -0
- data/config/syntax/HTML (Rails).json +52 -0
- data/config/syntax/HTML (Tcl).json +42 -0
- data/config/syntax/HTML for ASP.net.json +736 -0
- data/config/syntax/HTML-ASP.json +45 -0
- data/config/syntax/HTML.json +614 -0
- data/config/syntax/Haskell.json +407 -0
- data/config/syntax/Inform.json +80 -0
- data/config/syntax/Ini.json +91 -0
- data/config/syntax/Io.json +142 -0
- data/config/syntax/Java.json +745 -0
- data/config/syntax/JavaProperties.json +42 -0
- data/config/syntax/JavaScript.json +446 -0
- data/config/syntax/LaTeX Beamer.json +65 -0
- data/config/syntax/LaTeX Log.json +88 -0
- data/config/syntax/LaTeX.json +962 -0
- data/config/syntax/Lighttpd.json +93 -0
- data/config/syntax/Lisp.json +101 -0
- data/config/syntax/Literate Haskell.json +55 -0
- data/config/syntax/Logtalk.json +289 -0
- data/config/syntax/Lua.json +146 -0
- data/config/syntax/M.json +744 -0
- data/config/syntax/MEL.json +161 -0
- data/config/syntax/MIPS.json +114 -0
- data/config/syntax/Mail.json +224 -0
- data/config/syntax/Makefile.json +66 -0
- data/config/syntax/Markdown.json +644 -0
- data/config/syntax/Modula-3.json +80 -0
- data/config/syntax/Movable Type.json +348 -0
- data/config/syntax/OCaml.json +1391 -0
- data/config/syntax/Objective-C++.json +21 -0
- data/config/syntax/OpenGL.json +24 -0
- data/config/syntax/PHP.json +2184 -0
- data/config/syntax/Pascal.json +128 -0
- data/config/syntax/Perl.json +2091 -0
- data/config/syntax/Plain text.json +49 -0
- data/config/syntax/Processing.json +188 -0
- data/config/syntax/Quake3 Config.json +54 -0
- data/config/syntax/R.json +157 -0
- data/config/syntax/Rez.json +137 -0
- data/config/syntax/Ruby on Rails.json +170 -0
- data/config/syntax/Ruby.json +1753 -0
- data/config/syntax/SQL (Rails).json +31 -0
- data/config/syntax/SQL.json +435 -0
- data/config/syntax/SWIG.json +96 -0
- data/config/syntax/Scheme.json +359 -0
- data/config/syntax/Shell-Unix-Generic.json +1198 -0
- data/config/syntax/Slate.json +265 -0
- data/config/syntax/Smarty.json +110 -0
- data/config/syntax/Standard ML.json +322 -0
- data/config/syntax/Subversion commit message.json +62 -0
- data/config/syntax/Tcl.json +278 -0
- data/config/syntax/TeX Math.json +83 -0
- data/config/syntax/TeX.json +157 -0
- data/config/syntax/Textile.json +273 -0
- data/config/syntax/Twiki.json +436 -0
- data/config/syntax/Vectorscript.json +97 -0
- data/config/syntax/XML strict.json +148 -0
- data/config/syntax/XML.json +301 -0
- data/config/syntax/XSL.json +96 -0
- data/config/syntax/YAML.json +293 -0
- data/config/syntax/iCalendar.json +51 -0
- data/config/syntax/reStructuredText.json +403 -0
- data/config/theme/Active4D.json +260 -0
- data/config/theme/All Hallow's Eve.json +171 -0
- data/config/theme/Amy.json +359 -0
- data/config/theme/BBEdit.json +269 -0
- data/config/theme/Bespin.json +322 -0
- data/config/theme/Blackboard.json +215 -0
- data/config/theme/BoysAndGirls01.json +156 -0
- data/config/theme/Brilliance Black.json +1695 -0
- data/config/theme/Brilliance Dull.json +1451 -0
- data/config/theme/Classic Modified.json +288 -0
- data/config/theme/Cobalt.json +345 -0
- data/config/theme/Cool Glow.json +215 -0
- data/config/theme/Dawn.json +258 -0
- data/config/theme/Eiffel.json +270 -0
- data/config/theme/Espresso Libre.json +247 -0
- data/config/theme/Fluidvision.json +272 -0
- data/config/theme/IDLE.json +159 -0
- data/config/theme/LAZY.json +178 -0
- data/config/theme/Mac Classic.json +277 -0
- data/config/theme/MagicWB (Amiga).json +231 -0
- data/config/theme/Merbivore Soft.json +181 -0
- data/config/theme/Merbivore.json +181 -0
- data/config/theme/Monokai.json +177 -0
- data/config/theme/Notepad2.json +166 -0
- data/config/theme/Pastels on Dark.json +437 -0
- data/config/theme/RubyBlue.json +226 -0
- data/config/theme/Sin City 2.json +361 -0
- data/config/theme/Slate.json +270 -0
- data/config/theme/Slush & Poppies.json +232 -0
- data/config/theme/SpaceCadet.json +143 -0
- data/config/theme/Sunburst.json +415 -0
- data/config/theme/Twilight BG FG.json +633 -0
- data/config/theme/Twilight.json +321 -0
- data/config/theme/Whys Poignant.json +119 -0
- data/config/theme/Zenburnesque.json +237 -0
- data/config/theme/barf.json +155 -0
- data/config/theme/fake.json +418 -0
- data/config/theme/happydeluxe.json +114 -0
- data/config/theme/iLife 05.json +393 -0
- data/config/theme/iPlastic.json +177 -0
- data/config/theme/mintBlue Dark.json +414 -0
- data/config/theme/mintBlue.json +415 -0
- data/config/theme/monoindustrial.json +276 -0
- data/config/theme/starlight.json +67 -0
- data/config/tutorial +74 -0
- data/config/welcome +115 -0
- data/help/index.verh +14 -0
- data/lib/ver.rb +156 -0
- data/lib/ver/entry.rb +97 -0
- data/lib/ver/keymap.rb +96 -0
- data/lib/ver/layout.rb +107 -0
- data/lib/ver/methods.rb +19 -0
- data/lib/ver/methods/completion.rb +116 -0
- data/lib/ver/methods/control.rb +340 -0
- data/lib/ver/methods/insert.rb +6 -0
- data/lib/ver/methods/move.rb +65 -0
- data/lib/ver/methods/search.rb +33 -0
- data/lib/ver/methods/select.rb +145 -0
- data/lib/ver/methods/views.rb +21 -0
- data/lib/ver/mode.rb +160 -0
- data/lib/ver/options.rb +207 -0
- data/lib/ver/plist.rb +106 -0
- data/lib/ver/status.rb +67 -0
- data/lib/ver/syntax.rb +68 -0
- data/lib/ver/syntax/detector.rb +53 -0
- data/lib/ver/syntax/processor.rb +48 -0
- data/lib/ver/text.rb +374 -0
- data/lib/ver/textpow.rb +357 -0
- data/lib/ver/theme.rb +162 -0
- data/lib/ver/vendor/fuzzy_file_finder.rb +340 -0
- data/lib/ver/view.rb +163 -0
- data/lib/ver/view/entry.rb +28 -0
- data/lib/ver/view/list.rb +137 -0
- data/lib/ver/view/list/buffer.rb +27 -0
- data/lib/ver/view/list/fuzzy_file_finder.rb +44 -0
- data/lib/ver/view/list/syntax.rb +13 -0
- data/lib/ver/view/list/theme.rb +13 -0
- data/spec/keymap.rb +224 -0
- data/tasks/bacon.rake +49 -0
- data/tasks/changelog.rake +18 -0
- data/tasks/gem.rake +22 -0
- data/tasks/gem_installer.rake +76 -0
- data/tasks/grancher.rake +12 -0
- data/tasks/install_dependencies.rake +6 -0
- data/tasks/manifest.rake +4 -0
- data/tasks/plist2json.rake +35 -0
- data/tasks/rcov.rake +18 -0
- data/tasks/release.rake +12 -0
- data/tasks/reversion.rake +8 -0
- data/tasks/syntax_list.rake +31 -0
- data/ver.gemspec +29 -0
- metadata +241 -0
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
{
|
|
2
|
+
"comment": "Ada -- chris@cjack.com. Feel free to modify, distribute, be happy. Share and enjoy.",
|
|
3
|
+
"fileTypes": [
|
|
4
|
+
"adb",
|
|
5
|
+
"ads"
|
|
6
|
+
],
|
|
7
|
+
"foldingStartMarker": "\\b(?i:(procedure|package|function|task|type|loop))\\b",
|
|
8
|
+
"foldingStopMarker": "\\b(?i:(end))\\b",
|
|
9
|
+
"keyEquivalent": "^~A",
|
|
10
|
+
"name": "Ada",
|
|
11
|
+
"patterns": [
|
|
12
|
+
{
|
|
13
|
+
"captures": {
|
|
14
|
+
"1": {
|
|
15
|
+
"name": "storage.type.function.ada"
|
|
16
|
+
},
|
|
17
|
+
"2": {
|
|
18
|
+
"name": "entity.name.function.ada"
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"match": "\\b(?i:(function|procedure))\\b\\s+(\\w+(\\.\\w+)?|\"(?:\\+|-|=|\\*|\/)\")",
|
|
22
|
+
"name": "meta.function.ada"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"captures": {
|
|
26
|
+
"1": {
|
|
27
|
+
"name": "storage.type.package.ada"
|
|
28
|
+
},
|
|
29
|
+
"2": {
|
|
30
|
+
"name": "keyword.other.body.ada"
|
|
31
|
+
},
|
|
32
|
+
"3": {
|
|
33
|
+
"name": "entity.name.type.package.ada"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"match": "\\b(?i:(package)(?:\\b\\s+(body))?)\\b\\s+(\\w+(\\.\\w+)?|\"(?:\\+|-|=|\\*|\/)\")",
|
|
37
|
+
"name": "meta.function.ada"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"captures": {
|
|
41
|
+
"1": {
|
|
42
|
+
"name": "storage.type.function.ada"
|
|
43
|
+
},
|
|
44
|
+
"2": {
|
|
45
|
+
"name": "entity.name.function.ada"
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
"match": "\\b(?i:(end))\\b\\s+(\\w+(\\.\\w+)?|\"(\\+|-|=|\\*|\/)\")\\s?;",
|
|
49
|
+
"name": "meta.function.ada"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"captures": {
|
|
53
|
+
"1": {
|
|
54
|
+
"name": "keyword.control.import.ada"
|
|
55
|
+
},
|
|
56
|
+
"2": {
|
|
57
|
+
"name": "string.unquoted.import.ada"
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
"match": "\\b(?i:(with|use))\\b\\s+(\\w+(\\.\\w+)?)\\s?;",
|
|
61
|
+
"name": "meta.function.ada"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"match": "\\b(?i:(begin|end|package))\\b",
|
|
65
|
+
"name": "keyword.control.ada"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"match": "\\b(?i:(\\=>|abort|else|new|return|abs|elsif|not|reverse|abstract|null|accept|entry|select|access|exception|of|separate|aliased|exit|or|subtype|all|others|and|for|out|tagged|array|function|task|at|terminate|generic|pragma|then|goto|private|type|body|procedure|if|protected|until|case|in|use|constant|is|raise|range|when|declare|limited|record|while|delay|loop|rem|with|delta|renames|digits|mod|requeue|xor|do))\\b",
|
|
69
|
+
"name": "keyword.other.ada"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"match": "\\b((0(x|X)[0-9a-fA-F_]*)|(([0-9_]+\\.?[0-9_]*)|(\\.[0-9_]+))((e|E)(\\+|-)?[0-9_]+)?)(L|l|UL|ul|u|U|F|f|ll|LL|ull|ULL)?\\b",
|
|
73
|
+
"name": "constant.numeric.ada"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"begin": "\"",
|
|
77
|
+
"beginCaptures": {
|
|
78
|
+
"0": {
|
|
79
|
+
"name": "punctuation.definition.string.begin.ada"
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
"end": "\"",
|
|
83
|
+
"endCaptures": {
|
|
84
|
+
"0": {
|
|
85
|
+
"name": "punctuation.definition.string.end.ada"
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
"name": "string.quoted.double.ada",
|
|
89
|
+
"patterns": [
|
|
90
|
+
{
|
|
91
|
+
"match": "\\n",
|
|
92
|
+
"name": "invalid.illegal.lf-in-string.ada"
|
|
93
|
+
}
|
|
94
|
+
]
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"captures": {
|
|
98
|
+
"1": {
|
|
99
|
+
"name": "punctuation.definition.comment.ada"
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
"match": "(--)(.*)$\\n?",
|
|
103
|
+
"name": "comment.line.double-dash.ada"
|
|
104
|
+
}
|
|
105
|
+
],
|
|
106
|
+
"scopeName": "source.ada",
|
|
107
|
+
"uuid": "0AB8A36E-6B1D-11D9-B034-000D93589AF6"
|
|
108
|
+
}
|
|
@@ -0,0 +1,342 @@
|
|
|
1
|
+
{
|
|
2
|
+
"fileTypes": [
|
|
3
|
+
"conf",
|
|
4
|
+
"htaccess"
|
|
5
|
+
],
|
|
6
|
+
"foldingStartMarker": "^[ ]*(?x)\n\t\t(<(?i:FilesMatch|Files|DirectoryMatch|Directory|LocationMatch|Location|VirtualHost|IfModule|IfDefine)\\b.*?>\n\t\t)",
|
|
7
|
+
"foldingStopMarker": "^[ ]*(?x)\n\t\t(<\/(?i:FilesMatch|Files|DirectoryMatch|Directory|LocationMatch|Location|VirtualHost|IfModule|IfDefine)>\n\t\t)",
|
|
8
|
+
"keyEquivalent": "^~A",
|
|
9
|
+
"name": "Apache",
|
|
10
|
+
"patterns": [
|
|
11
|
+
{
|
|
12
|
+
"captures": {
|
|
13
|
+
"1": {
|
|
14
|
+
"name": "punctuation.definition.comment.apache-config"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"match": "(#).*$\\n?",
|
|
18
|
+
"name": "comment.line.number-sign.apache-config"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"captures": {
|
|
22
|
+
"1": {
|
|
23
|
+
"name": "punctuation.definition.tag.apache-config"
|
|
24
|
+
},
|
|
25
|
+
"2": {
|
|
26
|
+
"name": "entity.name.tag.apache-config"
|
|
27
|
+
},
|
|
28
|
+
"3": {
|
|
29
|
+
"name": "punctuation.definition.tag.apache-config"
|
|
30
|
+
},
|
|
31
|
+
"4": {
|
|
32
|
+
"name": "meta.scope.between-tag-pair.apache-config"
|
|
33
|
+
},
|
|
34
|
+
"5": {
|
|
35
|
+
"name": "entity.name.tag.apache-config"
|
|
36
|
+
},
|
|
37
|
+
"6": {
|
|
38
|
+
"name": "punctuation.definition.tag.apache-config"
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"match": "^[ ]*(<)([a-zA-Z0-9:]+)[^>]*(>(<)\/)(\\2)(>)",
|
|
42
|
+
"name": "meta.tag.any.html"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"begin": "^[ ]*((<)(VirtualHost)(?:[ ]+([^>]+))?(>))",
|
|
46
|
+
"beginCaptures": {
|
|
47
|
+
"1": {
|
|
48
|
+
"name": "meta.tag.apache-config"
|
|
49
|
+
},
|
|
50
|
+
"2": {
|
|
51
|
+
"name": "punctuation.definition.tag.apache-config"
|
|
52
|
+
},
|
|
53
|
+
"3": {
|
|
54
|
+
"name": "entity.name.tag.apache-config"
|
|
55
|
+
},
|
|
56
|
+
"4": {
|
|
57
|
+
"name": "meta.toc-list.virtual-host.apache-config"
|
|
58
|
+
},
|
|
59
|
+
"5": {
|
|
60
|
+
"name": "punctuation.definition.tag.apache-config"
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
"end": "^[ ]*((<\/)(VirtualHost)[^>]*(>))",
|
|
64
|
+
"endCaptures": {
|
|
65
|
+
"1": {
|
|
66
|
+
"name": "meta.tag.apache-config"
|
|
67
|
+
},
|
|
68
|
+
"2": {
|
|
69
|
+
"name": "punctuation.definition.tag.apache-config"
|
|
70
|
+
},
|
|
71
|
+
"3": {
|
|
72
|
+
"name": "entity.name.tag.apache-config"
|
|
73
|
+
},
|
|
74
|
+
"4": {
|
|
75
|
+
"name": "punctuation.definition.tag.apache-config"
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
"name": "meta.vhost.apache-config",
|
|
79
|
+
"patterns": [
|
|
80
|
+
{
|
|
81
|
+
"include": "$base"
|
|
82
|
+
}
|
|
83
|
+
]
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"begin": "^[ ]*((<)(Directory(?:Match)?)(?:[ ]+([^>]+))?(>))",
|
|
87
|
+
"beginCaptures": {
|
|
88
|
+
"1": {
|
|
89
|
+
"name": "meta.tag.apache-config"
|
|
90
|
+
},
|
|
91
|
+
"2": {
|
|
92
|
+
"name": "punctuation.definition.tag.apache-config"
|
|
93
|
+
},
|
|
94
|
+
"3": {
|
|
95
|
+
"name": "entity.name.tag.apache-config"
|
|
96
|
+
},
|
|
97
|
+
"4": {
|
|
98
|
+
"name": "meta.toc-list.directory.apache-config"
|
|
99
|
+
},
|
|
100
|
+
"5": {
|
|
101
|
+
"name": "punctuation.definition.tag.apache-config"
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
"end": "^[ ]*((<\/)(Directory(?:Match)?)[^>]*(>))",
|
|
105
|
+
"endCaptures": {
|
|
106
|
+
"1": {
|
|
107
|
+
"name": "meta.tag.apache-config"
|
|
108
|
+
},
|
|
109
|
+
"2": {
|
|
110
|
+
"name": "punctuation.definition.tag.apache-config"
|
|
111
|
+
},
|
|
112
|
+
"3": {
|
|
113
|
+
"name": "entity.name.tag.apache-config"
|
|
114
|
+
},
|
|
115
|
+
"4": {
|
|
116
|
+
"name": "punctuation.definition.tag.apache-config"
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
"name": "meta.directory.apache-config",
|
|
120
|
+
"patterns": [
|
|
121
|
+
{
|
|
122
|
+
"include": "$base"
|
|
123
|
+
}
|
|
124
|
+
]
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"begin": "^[ ]*((<)(Location(?:Match)?)(?:[ ]+([^>]+))?(>))",
|
|
128
|
+
"beginCaptures": {
|
|
129
|
+
"1": {
|
|
130
|
+
"name": "meta.tag.apache-config"
|
|
131
|
+
},
|
|
132
|
+
"2": {
|
|
133
|
+
"name": "punctuation.definition.tag.apache-config"
|
|
134
|
+
},
|
|
135
|
+
"3": {
|
|
136
|
+
"name": "entity.name.tag.apache-config"
|
|
137
|
+
},
|
|
138
|
+
"4": {
|
|
139
|
+
"name": "meta.toc-list.location.apache-config"
|
|
140
|
+
},
|
|
141
|
+
"5": {
|
|
142
|
+
"name": "punctuation.definition.tag.apache-config"
|
|
143
|
+
}
|
|
144
|
+
},
|
|
145
|
+
"end": "^[ ]*((<\/)(Location(?:Match)?)[^>]*(>))",
|
|
146
|
+
"endCaptures": {
|
|
147
|
+
"1": {
|
|
148
|
+
"name": "meta.tag.apache-config"
|
|
149
|
+
},
|
|
150
|
+
"2": {
|
|
151
|
+
"name": "punctuation.definition.tag.apache-config"
|
|
152
|
+
},
|
|
153
|
+
"3": {
|
|
154
|
+
"name": "entity.name.tag.apache-config"
|
|
155
|
+
},
|
|
156
|
+
"4": {
|
|
157
|
+
"name": "punctuation.definition.tag.apache-config"
|
|
158
|
+
}
|
|
159
|
+
},
|
|
160
|
+
"name": "meta.location.apache-config",
|
|
161
|
+
"patterns": [
|
|
162
|
+
{
|
|
163
|
+
"include": "$base"
|
|
164
|
+
}
|
|
165
|
+
]
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"begin": "(^Include)",
|
|
169
|
+
"beginCaptures": {
|
|
170
|
+
"1": {
|
|
171
|
+
"name": "support.constant.include.start.apache-config"
|
|
172
|
+
}
|
|
173
|
+
},
|
|
174
|
+
"end": "(\\n)",
|
|
175
|
+
"endCaptures": {
|
|
176
|
+
"1": {
|
|
177
|
+
"name": "support.constant.include.end.apache-config"
|
|
178
|
+
}
|
|
179
|
+
},
|
|
180
|
+
"name": "source.include.apache-config",
|
|
181
|
+
"patterns": [
|
|
182
|
+
{
|
|
183
|
+
"match": "(.*)",
|
|
184
|
+
"name": "text.include.apache-config"
|
|
185
|
+
}
|
|
186
|
+
]
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"begin": "^[ ]*\\b(RewriteCond)\\b",
|
|
190
|
+
"captures": {
|
|
191
|
+
"1": {
|
|
192
|
+
"name": "support.constant.rewritecond.apache-config"
|
|
193
|
+
}
|
|
194
|
+
},
|
|
195
|
+
"end": "$",
|
|
196
|
+
"patterns": [
|
|
197
|
+
{
|
|
198
|
+
"begin": "[ ]+",
|
|
199
|
+
"end": "$",
|
|
200
|
+
"patterns": [
|
|
201
|
+
{
|
|
202
|
+
"include": "#vars"
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
"match": "[^ %\\n]+",
|
|
206
|
+
"name": "string.regexp.rewrite-test.apache-config"
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
"begin": "[ ]+",
|
|
210
|
+
"end": "$",
|
|
211
|
+
"patterns": [
|
|
212
|
+
{
|
|
213
|
+
"match": "[^ %\\n]+",
|
|
214
|
+
"name": "string.other.rewrite-condition.apache-config"
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
"captures": {
|
|
218
|
+
"1": {
|
|
219
|
+
"name": "string.regexp.rewrite-operator.apache-config"
|
|
220
|
+
}
|
|
221
|
+
},
|
|
222
|
+
"match": "[ ]+(\\[[^\\]]+\\])"
|
|
223
|
+
}
|
|
224
|
+
]
|
|
225
|
+
}
|
|
226
|
+
]
|
|
227
|
+
}
|
|
228
|
+
]
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
"begin": "^[ ]*\\b(RewriteRule)\\b",
|
|
232
|
+
"captures": {
|
|
233
|
+
"1": {
|
|
234
|
+
"name": "support.constant.rewriterule.apache-config"
|
|
235
|
+
}
|
|
236
|
+
},
|
|
237
|
+
"end": "$",
|
|
238
|
+
"patterns": [
|
|
239
|
+
{
|
|
240
|
+
"begin": "[ ]+",
|
|
241
|
+
"end": "$",
|
|
242
|
+
"patterns": [
|
|
243
|
+
{
|
|
244
|
+
"include": "#vars"
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
"match": "[^ %]+",
|
|
248
|
+
"name": "string.regexp.rewrite-pattern.apache-config"
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
"begin": "[ ]+",
|
|
252
|
+
"end": "$",
|
|
253
|
+
"patterns": [
|
|
254
|
+
{
|
|
255
|
+
"include": "#vars"
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
"match": "[^ %\\n]+",
|
|
259
|
+
"name": "string.other.rewrite-substitution.apache-config"
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
"captures": {
|
|
263
|
+
"1": {
|
|
264
|
+
"name": "string.regexp.rewrite-operator.apache-config"
|
|
265
|
+
}
|
|
266
|
+
},
|
|
267
|
+
"match": "[ ]+(\\[[^\\]]+\\])"
|
|
268
|
+
}
|
|
269
|
+
]
|
|
270
|
+
}
|
|
271
|
+
]
|
|
272
|
+
}
|
|
273
|
+
]
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
"match": "\\b(R(e(sourceConfig|direct(Match|Temp|Permanent)?|qu(ire|estHeader)|ferer(Ignore|Log)|write(Rule|Map|Base|Cond|Options|Engine|Lo(ck|g(Level)?))|admeName|move(Handler|Charset|Type|InputFilter|OutputFilter|Encoding|Language))|Limit(MEM|NPROC|CPU))|Group|XBitHack|M(MapFile|i(nSpare(Servers|Threads)|meMagicFile)|odMimeUsePathInfo|Cache(RemovalAlgorithm|M(inObjectSize|ax(StreamingBuffer|Object(Size|Count)))|Size)|ultiviewsMatch|eta(Suffix|Dir|Files)|ax(RequestsPer(Child|Thread)|MemFree|Spare(Servers|Threads)|Clients|Threads(PerChild)?|KeepAliveRequests))|B(indAddress|S2000Account|rowserMatch(NoCase)?)|S(hmemUIDisUser|c(oreBoardFile|ript(Sock|InterpreterSource|Log(Buffer|Length)?|Alias(Match)?)?)|tart(Servers|Threads)|S(I(StartTag|TimeFormat|UndefinedEcho|E(ndTag|rrorMsg))|L(R(equire(SSL)?|andomSeed)|Mutex|SessionCache(Timeout)?|C(ipherSuite|ertificate(ChainFile|KeyFile|File)|A(Revocation(Path|File)|Certificate(Path|File)))|Options|P(assPhraseDialog|ro(tocol|xy(MachineCertificate(Path|File)|C(ipherSuite|A(Revocation(Path|File)|Certificate(Path|File)))|Protocol|Engine|Verify(Depth)?)))|Engine|Verify(Client|Depth)))|uexecUserGroup|e(ndBufferSize|cureListen|t(Handler|InputFilter|OutputFilter|Env(If(NoCase)?)?)|rver(Root|Signature|Name|T(ype|okens)|Path|Limit|A(dmin|lias)))|atisfy)|H(ostnameLookups|eader(Name)?)|N(o(Cache|Proxy)|umServers|ameVirtualHost|WSSL(TrustedCerts|Upgradeable))|C(h(ildPerUserID|eckSpelling|arset(SourceEnc|Options|Default))|GI(MapExtension|CommandArgs)|o(ntentDigest|okie(Style|Name|Tracking|Domain|Prefix|Expires|Format|Log)|reDumpDirectory)|ustomLog|learModuleList|ache(Root|Gc(MemUsage|Clean|Interval|Daily|Unused)|M(inFileSize|ax(Expire|FileSize))|Size|NegotiatedDocs|TimeMargin|Ignore(NoLastMod|CacheControl)|D(i(sable|rLe(ngth|vels))|efaultExpire)|E(nable|xpiryCheck)|F(ile|orceCompletion)|LastModifiedFactor))|T(hread(sPerChild|StackSize|Limit)|ypesConfig|ime(out|Out)|ransferLog)|I(n(clude|dex(Ignore|O(ptions|rderDefault)))|SAPI(ReadAheadBuffer|CacheFile|FakeAsync|LogNotSupported|AppendLogTo(Errors|Query))|dentityCheck|f(Module|Define)|map(Menu|Base|Default))|O(ptions|rder)|D(irectory(Match|Slash|Index)?|ocumentRoot|e(ny|f(late(MemLevel|BufferSize|CompressionLevel|FilterNote|WindowSize)|ault(Type|Icon|Language)))|av(MinTimeout|DepthInfinity|LockDB)?)|U(se(CanonicalName|r(Dir)?)|nsetEnv)|P(idFile|ort|assEnv|ro(tocol(ReqCheck|Echo)|xy(Re(ceiveBufferSize|quests|mote(Match)?)|Ma(tch|xForwards)|B(lock|adHeader)|Timeout|IOBufferSize|Domain|P(ass(Reverse)?|reserveHost)|ErrorOverride|Via)?))|E(nable(MMAP|Sendfile|ExceptionHook)|BCDIC(Convert(ByType)?|Kludge)|rror(Header|Document|Log)|x(t(endedStatus|Filter(Options|Define))|pires(ByType|Default|Active)|ample))|Virtual(ScriptAlias(IP)?|Host|DocumentRoot(IP)?)|KeepAlive(Timeout)?|F(ile(s(Match)?|ETag)|or(ce(Type|LanguagePriority)|ensicLog)|ancyIndexing)|Win32DisableAcceptEx|L(i(sten(Back(log|Log))?|mit(Request(Body|Field(s(ize)?|Size)|Line)|XMLRequestBody|InternalRecursion|Except)?)|o(c(kFile|ation(Match)?)|ad(Module|File)|g(Format|Level))|DAP(SharedCache(Size|File)|Cache(TTL|Entries)|TrustedCA(Type)?|OpCache(TTL|Entries))|anguagePriority)|A(ssignUserID|nonymous(_(MustGiveEmail|NoUserID|VerifyEmail|LogEmail|Authoritative))?|c(ce(ss(Config|FileName)|pt(Mutex|PathInfo|Filter))|tion)|dd(Module(Info)?|Handler|Charset|Type|I(nputFilter|con(By(Type|Encoding))?)|OutputFilter(ByType)?|De(scription|faultCharset)|Encoding|Language|Alt(By(Type|Encoding))?)|uth(GroupFile|Name|Type|D(B(GroupFile|M(GroupFile|Type|UserFile|Authoritative)|UserFile|Authoritative)|igest(GroupFile|ShmemSize|N(cCheck|once(Format|Lifetime))|Domain|Qop|File|Algorithm))|UserFile|LDAP(RemoteUserIsDN|GroupAttribute(IsDN)?|Bind(DN|Password)|C(harsetConfig|ompareDNOnServer)|DereferenceAliases|Url|Enabled|FrontPageHack|Authoritative)|Authoritative)|l(ias(Match)?|low(CONNECT|Override|EncodedSlashes)?)|gentLog)|MIMEMagicFile)\\b",
|
|
277
|
+
"name": "support.constant.apache-config"
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
"match": "\\b(access_module|actions_module|action_module|alias_module|anon_auth_module|asis_module|authn_anon_module|authn_dbd_module|authn_dbm_module|authn_default_module|authn_file_module|authz_dbm_module|authz_default_module|authz_groupfile_module|authz_host_module|authz_owner_module|authz_user_module|auth_basic_module|auth_digest_module|auth_module|autoindex_module|bonjour_module|cache_module|cern_meta_module|cgi_module|config_log_module|dav_fs_module|dav_module|dbd_module|dbm_auth_module|deflate_module|digest_module|dir_module|disk_cache_module|dumpio_module|env_module|expires_module|ext_filter_module|fastcgi_module|filter_module|foo_module|headers_module|hfs_apple_module|ident_module|imagemap_module|imap_module|includes_module|include_module|info_module|jk_module|logio_module|log_config_module|log_forensic_module|mem_cache_module|mime_magic_module|mime_module|negotiation_module|perl_module|php4_module|php5_module|proxy_ajp_module|proxy_balancer_module|proxy_connect_module|proxy_ftp_module|proxy_http_module|proxy_module|rendezvous_apple_module|rendezvous_module|rewrite_module|setenvif_module|speling_module|ssl_module|status_module|substitute_module|unique_id_module|userdir_module|usertrack_module|version_module|vhost_alias_module)\\b",
|
|
281
|
+
"name": "support.class.apache-config"
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
"begin": "\"",
|
|
285
|
+
"beginCaptures": {
|
|
286
|
+
"0": {
|
|
287
|
+
"name": "punctuation.definition.string.begin.apache-config"
|
|
288
|
+
}
|
|
289
|
+
},
|
|
290
|
+
"end": "\"(?!\")",
|
|
291
|
+
"endCaptures": {
|
|
292
|
+
"0": {
|
|
293
|
+
"name": "punctuation.definition.string.end.apache-config"
|
|
294
|
+
}
|
|
295
|
+
},
|
|
296
|
+
"name": "string.quoted.double.apache-config",
|
|
297
|
+
"patterns": [
|
|
298
|
+
{
|
|
299
|
+
"match": "\"\"",
|
|
300
|
+
"name": "constant.character.escape.apostrophe.apache"
|
|
301
|
+
}
|
|
302
|
+
]
|
|
303
|
+
},
|
|
304
|
+
{
|
|
305
|
+
"begin": "(<\/?)([a-zA-Z]+)",
|
|
306
|
+
"captures": {
|
|
307
|
+
"1": {
|
|
308
|
+
"name": "punctuation.definition.tag.apache-config"
|
|
309
|
+
},
|
|
310
|
+
"2": {
|
|
311
|
+
"name": "entity.name.tag.apache-config"
|
|
312
|
+
}
|
|
313
|
+
},
|
|
314
|
+
"end": "(\/?>)",
|
|
315
|
+
"name": "meta.tag.apache-config"
|
|
316
|
+
}
|
|
317
|
+
],
|
|
318
|
+
"repository": {
|
|
319
|
+
"vars": {
|
|
320
|
+
"patterns": [
|
|
321
|
+
{
|
|
322
|
+
"captures": {
|
|
323
|
+
"1": {
|
|
324
|
+
"name": "punctuation.definition.variable.apache-config"
|
|
325
|
+
},
|
|
326
|
+
"3": {
|
|
327
|
+
"name": "punctuation.definition.variable.apache-config"
|
|
328
|
+
}
|
|
329
|
+
},
|
|
330
|
+
"match": "(%\\{)(?:HTTP_(?:USER_AGENT|REFERER|COOKIE|FORWARDED|HOST|PROXY_CONNECTION|ACCEPT)|REMOTE_(?:ADDR|HOST|USER|IDENT)|REQUEST_(?:METHOD|URI|FILENAME)|SCRIPT_FILENAME|PATH_INFO|QUERY_STRING|AUTH_TYPE|DOCUMENT_ROOT|SERVER_(?:ADMIN|NAME|ADDR|PORT|PROTOCOL|SOFTWARE)|TIME_(?:YEAR|MON|DAY|HOUR|MIN|SEC|WDAY)|TIME|API_VERSION|THE_REQUEST|IS_SUBREQ|(?:ENV|LA-U|LA-F|HTTP|SSL):[^\\}]+)(\\})",
|
|
331
|
+
"name": "support.variable.apache-config"
|
|
332
|
+
},
|
|
333
|
+
{
|
|
334
|
+
"match": "%\\{[^\\}]+\\}",
|
|
335
|
+
"name": "invalid.illegal.bad-var.apache-config"
|
|
336
|
+
}
|
|
337
|
+
]
|
|
338
|
+
}
|
|
339
|
+
},
|
|
340
|
+
"scopeName": "source.apache-config",
|
|
341
|
+
"uuid": "023D670E-80F1-11D9-9BD1-00039398C572"
|
|
342
|
+
}
|