Skip to content

Commit

Permalink
add pxd, fix matlab, and make C-like files have lighter color for bet…
Browse files Browse the repository at this point in the history
…ter visibility
  • Loading branch information
Andrew Carlson committed Oct 12, 2019
1 parent 074ead1 commit 4fc126f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
12 changes: 7 additions & 5 deletions colors.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,10 @@ const (

var (
FileColor = map[string][2]string{
"c": [2]string{Fg(33), Fg(20)},
"c": [2]string{Fg(39), Fg(27)},
"clj": [2]string{Fg(204), Fg(162)},
"coffee": [2]string{Fg(136), Fg(94)},
"cr": [2]string{Fg(82), Fg(70)},
"cs": [2]string{Fg(33), Fg(20)},
"cson": [2]string{Fg(136), Fg(94)},
"css": [2]string{Fg(219), Fg(207)},
"dart": [2]string{Fg(43), Fg(31)},
Expand All @@ -83,8 +82,8 @@ var (
"jsx": [2]string{Fg(87), Fg(73)},
"lock": [2]string{FgGray(8), FgGray(5)},
"log": [2]string{FgGray(8), FgGray(5)},
"lua": [2]string{Fg(33), Fg(20)},
"m": [2]string{Fg(33), Fg(20)},
"lua": [2]string{Fg(39), Fg(27)},
"m": [2]string{Fg(208), Fg(196)},
"md": [2]string{Fg(87), Fg(73)},
"php": [2]string{Fg(30), Fg(22)},
"plist": [2]string{FgRGB(4, 0, 4), FgRGB(2, 0, 2)},
Expand All @@ -94,7 +93,7 @@ var (
"rs": [2]string{Fg(208), Fg(94)},
"scala": [2]string{Fg(124), Fg(52)},
"sh": [2]string{FgRGB(4, 0, 4), FgRGB(2, 0, 2)},
"sol": [2]string{Fg(33), Fg(20)},
"sol": [2]string{Fg(39), Fg(27)},
"sql": [2]string{Fg(193), Fg(148)},
"svelte": [2]string{Fg(208), Fg(196)},
"swift": [2]string{Fg(223), Fg(215)},
Expand All @@ -113,6 +112,7 @@ var (
"cxx": "c",
"c++": "c",
"cc": "c",
"cs": "c",
"h": "c",
"hpp": "c",
"hxx": "c",
Expand All @@ -132,6 +132,7 @@ var (
"pickle": "py",
"pkl": "py",
"pyx": "py",
"pxd": "c",
"tsql": "sql",
"psql": "sql",
"plsql": "sql",
Expand All @@ -143,6 +144,7 @@ var (
"gvy": "groovy",
"gy": "groovy",
"gsh": "groovy",
"mat": "m",
"markdown": "md",
"mkd": "md",
"rst": "md",
Expand Down
3 changes: 3 additions & 0 deletions file-icons.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ var icons = map[string]string{
"js": "\ue781",
"json": "\ue60b",
"jsx": "\ue7ba",
"m": "\ufb27",
"mjs": "\ue718",
"less": "\ue758",
"lock": "\uf720",
Expand Down Expand Up @@ -159,6 +160,7 @@ var aliases = map[string]string{
"opus": "audio",
"bson": "binary",
"feather": "binary",
"mat": "binary",
"pickle": "binary",
"pkl": "binary",
"pb": "binary",
Expand Down Expand Up @@ -238,6 +240,7 @@ var aliases = map[string]string{
"pptx": "ppt",
"pyc": "py",
"pyx": "py",
"pxd": "py",
"whl": "py",
"ipynb": "ebook",
"rdata": "r",
Expand Down

0 comments on commit 4fc126f

Please sign in to comment.