snibbets 2.0.13 → 2.0.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md.orig +24 -0
- data/Gemfile.lock +4 -1
- data/README.md +14 -2
- data/README.md.orig +186 -0
- data/lib/breeze-dark.theme +174 -0
- data/lib/monokai.theme +394 -0
- data/lib/nord.theme +181 -0
- data/lib/snibbets/config.rb +2 -0
- data/lib/snibbets/highlight.rb +36 -16
- data/lib/snibbets/lexers.rb +4 -2
- data/lib/snibbets/lexers_db.rb +379 -0
- data/lib/snibbets/version.rb +1 -1
- data/lib/snibbets.rb +2 -2
- data/lib/solarized-dark.theme +192 -0
- data/lib/solarized-light.theme +196 -0
- data/snibbets.gemspec +1 -0
- metadata +18 -11
@@ -0,0 +1,196 @@
|
|
1
|
+
{
|
2
|
+
"_comments": [
|
3
|
+
"This theme has been adapted from: https://ethanschoonover.com/solarized/"
|
4
|
+
],
|
5
|
+
"metadata" : {
|
6
|
+
"copyright": [
|
7
|
+
"SPDX-FileCopyrightText: 2011 Ethan Schoonover",
|
8
|
+
"SPDX-FileCopyrightText: 2012 Dominik Haumann <dhaumann@kde.org>",
|
9
|
+
"SPDX-FileCopyrightText: 2018 Andrew Crouthamel <andrew.crouthamel@kdemail.net>"
|
10
|
+
],
|
11
|
+
"license": "SPDX-License-Identifier: MIT",
|
12
|
+
"revision" : 5,
|
13
|
+
"name" : "Solarized Light"
|
14
|
+
},
|
15
|
+
"text-styles": {
|
16
|
+
"Normal" : {
|
17
|
+
"text-color" : "#657b83",
|
18
|
+
"selected-text-color" : "#839496",
|
19
|
+
"bold" : false,
|
20
|
+
"italic" : false,
|
21
|
+
"underline" : false,
|
22
|
+
"strike-through" : false
|
23
|
+
},
|
24
|
+
"Keyword" : {
|
25
|
+
"text-color" : "#859900",
|
26
|
+
"selected-text-color" : "#859900",
|
27
|
+
"bold" : true
|
28
|
+
},
|
29
|
+
"Function" : {
|
30
|
+
"text-color" : "#268bd2",
|
31
|
+
"selected-text-color" : "#268bd2"
|
32
|
+
},
|
33
|
+
"Variable" : {
|
34
|
+
"text-color" : "#268bd2",
|
35
|
+
"selected-text-color" : "#268bd2"
|
36
|
+
},
|
37
|
+
"ControlFlow" : {
|
38
|
+
"text-color" : "#859900",
|
39
|
+
"selected-text-color" : "#859900",
|
40
|
+
"bold" : true
|
41
|
+
},
|
42
|
+
"Operator" : {
|
43
|
+
"text-color" : "#859900",
|
44
|
+
"selected-text-color" : "#859900"
|
45
|
+
},
|
46
|
+
"BuiltIn" : {
|
47
|
+
"text-color" : "#cb4b16",
|
48
|
+
"selected-text-color" : "#cb4b16"
|
49
|
+
},
|
50
|
+
"Extension" : {
|
51
|
+
"text-color" : "#268bd2",
|
52
|
+
"selected-text-color" : "#268bd2",
|
53
|
+
"bold" : true
|
54
|
+
},
|
55
|
+
"Preprocessor" : {
|
56
|
+
"text-color" : "#cb4b16",
|
57
|
+
"selected-text-color" : "#cb4b16"
|
58
|
+
},
|
59
|
+
"Attribute" : {
|
60
|
+
"text-color" : "#268bd2",
|
61
|
+
"selected-text-color" : "#268bd2"
|
62
|
+
},
|
63
|
+
"Char" : {
|
64
|
+
"text-color" : "#2aa198",
|
65
|
+
"selected-text-color" : "#2aa198"
|
66
|
+
},
|
67
|
+
"SpecialChar" : {
|
68
|
+
"text-color" : "#dc322f",
|
69
|
+
"selected-text-color" : "#dc322f"
|
70
|
+
},
|
71
|
+
"String" : {
|
72
|
+
"text-color" : "#2aa198",
|
73
|
+
"selected-text-color" : "#2aa198"
|
74
|
+
},
|
75
|
+
"VerbatimString" : {
|
76
|
+
"text-color" : "#23837a",
|
77
|
+
"selected-text-color" : "#23837a"
|
78
|
+
},
|
79
|
+
"SpecialString" : {
|
80
|
+
"text-color" : "#dc322f",
|
81
|
+
"selected-text-color" : "#dc322f"
|
82
|
+
},
|
83
|
+
"Import" : {
|
84
|
+
"text-color" : "#2aa198",
|
85
|
+
"selected-text-color" : "#2aa198"
|
86
|
+
},
|
87
|
+
"DataType" : {
|
88
|
+
"text-color" : "#b58900",
|
89
|
+
"selected-text-color" : "#b58900",
|
90
|
+
"bold" : true
|
91
|
+
},
|
92
|
+
"DecVal" : {
|
93
|
+
"text-color" : "#2aa198",
|
94
|
+
"selected-text-color" : "#2aa198"
|
95
|
+
},
|
96
|
+
"BaseN" : {
|
97
|
+
"text-color" : "#2aa198",
|
98
|
+
"selected-text-color" : "#2aa198"
|
99
|
+
},
|
100
|
+
"Float" : {
|
101
|
+
"text-color" : "#2aa198",
|
102
|
+
"selected-text-color" : "#2aa198"
|
103
|
+
},
|
104
|
+
"Constant" : {
|
105
|
+
"text-color" : "#2aa198",
|
106
|
+
"selected-text-color" : "#2aa198",
|
107
|
+
"bold" : true
|
108
|
+
},
|
109
|
+
"Comment" : {
|
110
|
+
"text-color" : "#93a1a1",
|
111
|
+
"selected-text-color" : "#586e75",
|
112
|
+
"italic" : true
|
113
|
+
},
|
114
|
+
"Documentation" : {
|
115
|
+
"text-color" : "#dc322f",
|
116
|
+
"selected-text-color" : "#dc322f"
|
117
|
+
},
|
118
|
+
"Annotation" : {
|
119
|
+
"text-color" : "#268bd2",
|
120
|
+
"selected-text-color" : "#268bd2"
|
121
|
+
},
|
122
|
+
"CommentVar" : {
|
123
|
+
"text-color" : "#2aa198",
|
124
|
+
"selected-text-color" : "#2aa198"
|
125
|
+
},
|
126
|
+
"RegionMarker" : {
|
127
|
+
"text-color" : "#268bd2",
|
128
|
+
"selected-text-color" : "#268bd2",
|
129
|
+
"background-color" : "#eee8d5"
|
130
|
+
},
|
131
|
+
"Information" : {
|
132
|
+
"text-color" : "#b58900",
|
133
|
+
"selected-text-color" : "#b58900"
|
134
|
+
},
|
135
|
+
"Warning" : {
|
136
|
+
"text-color" : "#cb4b16",
|
137
|
+
"selected-text-color" : "#cb4b16"
|
138
|
+
},
|
139
|
+
"Alert" : {
|
140
|
+
"text-color" : "#d33682",
|
141
|
+
"selected-text-color" : "#d33682",
|
142
|
+
"bold" : true
|
143
|
+
},
|
144
|
+
"Error" : {
|
145
|
+
"text-color" : "#dc322f",
|
146
|
+
"selected-text-color" : "#dc322f",
|
147
|
+
"underline" : true
|
148
|
+
},
|
149
|
+
"Others" : {
|
150
|
+
"text-color" : "#859900",
|
151
|
+
"selected-text-color" : "#859900"
|
152
|
+
}
|
153
|
+
},
|
154
|
+
"editor-colors": {
|
155
|
+
"BackgroundColor" : "#fdf6e3",
|
156
|
+
"CodeFolding" : "#6c71c4",
|
157
|
+
"BracketMatching" : "#eee8d5",
|
158
|
+
"CurrentLine" : "#eee8d5",
|
159
|
+
"IconBorder" : "#eee8d5",
|
160
|
+
"IndentationLine" : "#eee8d5",
|
161
|
+
"LineNumbers" : "#93a1a1",
|
162
|
+
"CurrentLineNumber" : "#93a1a1",
|
163
|
+
"MarkBookmark" : "#268bd2",
|
164
|
+
"MarkBreakpointActive" : "#dc322f",
|
165
|
+
"MarkBreakpointReached" : "#b58900",
|
166
|
+
"MarkBreakpointDisabled" : "#d33682",
|
167
|
+
"MarkExecution" : "#93a1a1",
|
168
|
+
"MarkWarning" : "#cb4b16",
|
169
|
+
"MarkError" : "#dc322f",
|
170
|
+
"ModifiedLines" : "#cb4b16",
|
171
|
+
"ReplaceHighlight" : "#859900",
|
172
|
+
"SavedLines" : "#2aa198",
|
173
|
+
"SearchHighlight" : "#b58900",
|
174
|
+
"TextSelection" : "#073642",
|
175
|
+
"Separator" : "#e0dccc",
|
176
|
+
"SpellChecking" : "#dc322f",
|
177
|
+
"TabMarker" : "#93a1a1",
|
178
|
+
"TemplateBackground" : "#eee8d5",
|
179
|
+
"TemplatePlaceholder" : "#eee8d5",
|
180
|
+
"TemplateFocusedPlaceholder" : "#eee8d5",
|
181
|
+
"TemplateReadOnlyPlaceholder" : "#eee8d5",
|
182
|
+
"WordWrapMarker" : "#93a1a1"
|
183
|
+
},
|
184
|
+
"custom-styles": {
|
185
|
+
"XML": {
|
186
|
+
"Element": {
|
187
|
+
"selected-text-color": "#268bd2",
|
188
|
+
"text-color": "#268bd2"
|
189
|
+
},
|
190
|
+
"Element Symbols": {
|
191
|
+
"selected-text-color": "#93a1a1",
|
192
|
+
"text-color": "#839496"
|
193
|
+
}
|
194
|
+
}
|
195
|
+
}
|
196
|
+
}
|
data/snibbets.gemspec
CHANGED
@@ -28,6 +28,7 @@ Gem::Specification.new do |spec|
|
|
28
28
|
spec.executables << 'snibbets'
|
29
29
|
|
30
30
|
spec.files = Dir["lib/**/*.rb"].reject { |f| f.end_with?("_spec.rb") }
|
31
|
+
spec.files += Dir["lib/*.theme"]
|
31
32
|
spec.files += Dir["[A-Z]*"]
|
32
33
|
|
33
34
|
spec.add_development_dependency "bundler", "~> 2.0"
|
metadata
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: snibbets
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brett Terpstra
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
date: 2023-04-16 00:00:00.000000000 Z
|
@@ -174,22 +174,22 @@ dependencies:
|
|
174
174
|
name: tty-which
|
175
175
|
requirement: !ruby/object:Gem::Requirement
|
176
176
|
requirements:
|
177
|
-
- - ">="
|
178
|
-
- !ruby/object:Gem::Version
|
179
|
-
version: 0.5.0
|
180
177
|
- - "~>"
|
181
178
|
- !ruby/object:Gem::Version
|
182
179
|
version: '0.5'
|
180
|
+
- - ">="
|
181
|
+
- !ruby/object:Gem::Version
|
182
|
+
version: 0.5.0
|
183
183
|
type: :runtime
|
184
184
|
prerelease: false
|
185
185
|
version_requirements: !ruby/object:Gem::Requirement
|
186
186
|
requirements:
|
187
|
-
- - ">="
|
188
|
-
- !ruby/object:Gem::Version
|
189
|
-
version: 0.5.0
|
190
187
|
- - "~>"
|
191
188
|
- !ruby/object:Gem::Version
|
192
189
|
version: '0.5'
|
190
|
+
- - ">="
|
191
|
+
- !ruby/object:Gem::Version
|
192
|
+
version: 0.5.0
|
193
193
|
description: A plain text code snippet manager
|
194
194
|
email: me@brettterpstra.com
|
195
195
|
executables:
|
@@ -205,21 +205,28 @@ files:
|
|
205
205
|
- Gemfile.lock.orig
|
206
206
|
- LICENSE.txt
|
207
207
|
- README.md
|
208
|
+
- README.md.orig
|
208
209
|
- README.rdoc
|
209
210
|
- Rakefile
|
210
211
|
- bin/snibbets
|
211
212
|
- buildnotes.md
|
213
|
+
- lib/breeze-dark.theme
|
214
|
+
- lib/monokai.theme
|
215
|
+
- lib/nord.theme
|
212
216
|
- lib/snibbets.rb
|
213
217
|
- lib/snibbets/array.rb
|
214
218
|
- lib/snibbets/config.rb
|
215
219
|
- lib/snibbets/hash.rb
|
216
220
|
- lib/snibbets/highlight.rb
|
217
221
|
- lib/snibbets/lexers.rb
|
222
|
+
- lib/snibbets/lexers_db.rb
|
218
223
|
- lib/snibbets/menu.rb
|
219
224
|
- lib/snibbets/os.rb
|
220
225
|
- lib/snibbets/string.rb
|
221
226
|
- lib/snibbets/version.rb
|
222
227
|
- lib/snibbets/which.rb
|
228
|
+
- lib/solarized-dark.theme
|
229
|
+
- lib/solarized-light.theme
|
223
230
|
- snibbets.gemspec
|
224
231
|
homepage: https://github.com/ttscoff/snibbets
|
225
232
|
licenses:
|
@@ -230,7 +237,7 @@ metadata:
|
|
230
237
|
bug_tracker_uri: https://github.com/ttscoff/snibbets/issues
|
231
238
|
changelog_uri: https://github.com/ttscoff/snibbets/blob/main/CHANGELOG.md
|
232
239
|
github_repo: git@github.com:ttscoff/snibbets.git
|
233
|
-
post_install_message:
|
240
|
+
post_install_message:
|
234
241
|
rdoc_options:
|
235
242
|
- "--title"
|
236
243
|
- na
|
@@ -252,8 +259,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
252
259
|
- !ruby/object:Gem::Version
|
253
260
|
version: '0'
|
254
261
|
requirements: []
|
255
|
-
rubygems_version: 3.
|
256
|
-
signing_key:
|
262
|
+
rubygems_version: 3.2.16
|
263
|
+
signing_key:
|
257
264
|
specification_version: 4
|
258
265
|
summary: Snibbets
|
259
266
|
test_files: []
|