Skip to content

Commit b88abf9

Browse files
Luke-zhang-04o2sh
andauthored
feat(languages): add Svelte support (#436)
* feat(languages): add Svelte support * Svelte, no need to override the serialized name Co-authored-by: Ossama Hjaji <[email protected]>
1 parent 20a445d commit b88abf9

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

resources/svelte.ascii

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{0}SSSSSSSSSSSSSSSSSS{1}sssssssssss{0}SSSSSSSS
2+
{0}SSSSSSSSSSSSSSS{1}sssssssssssssssss{0}SSSSS
3+
{0}SSSSSSSSSSS{1}sssssssssss ssssssss{0}SSS
4+
{0}SSSSSSSS{1}ssssssssss sssssss{0}S
5+
{0}SSSSS{1}sssssssss sssss{0}S
6+
{0}SSS{1}ssssssss sssss ssss{0}S
7+
{0}S{1}sssssss sssssssss ssss{0}S
8+
{0}S{1}sssss sssssssssssssssssssss{0}S
9+
{0}S{1}sssss ssssssss ssssssssss{0}S
10+
{0}S{1}sssss ssssss ssssss{0}SS
11+
{0}S{1}sssss sssss{0}S
12+
{0}SS{1}ssssss ssssss sssss{0}S
13+
{0}S{1}ssssssssss ssssssss sssss{0}S
14+
{0}S{1}sssssssssssssssssssss sssss{0}S
15+
{0}S{1}ssss sssssssss ssssss{0}SS
16+
{0}S{1}ssss sssss ssssssss{0}SSS
17+
{0}S{1}sssss sssssssss{0}SSSSS
18+
{0}S{1}sssssss ssssssssss{0}SSSSSSSS
19+
{0}SSS{1}ssssssss sssssssssss{0}SSSSSSSSSSS
20+
{0}SSSSS{1}sssssssssssssssss{0}SSSSSSSSSSSSSSS
21+
{0}SSSSSSSS{1}sssssssssss{0}SSSSSSSSSSSSSSSSSS

src/onefetch/language.rs

+1
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,7 @@ define_languages! {
232232
{ Scala, "scala.ascii", "Scala", define_colors!( [Color::Red, Color::Red] : [Color::TrueColor{ r:223, g:63 ,b:61}, Color::TrueColor{ r:127, g:12 ,b:29} ] ) },
233233
{ Scheme, "scheme.ascii", "Scheme", define_colors!( [Color::White] : [Color::TrueColor{r: 85, g:85, b:85}] ) },
234234
{ Sh, "shell.ascii", "Shell", define_colors!( [Color::Green] ), "shell" },
235+
{ Svelte, "svelte.ascii", "Svelte", define_colors!( [Color::Red, Color::White] : [Color::TrueColor{ r: 255, g: 60, b: 0 }, Color::TrueColor{ r: 255, g: 255, b: 255 }] ) },
235236
{
236237
Swift, "swift.ascii", "Swift", define_colors!( [
237238
Color::Red,

0 commit comments

Comments
 (0)