Open defr0std opened 3 years ago
Hi @dennisfrostlander :wave:, thanks for your contribution :+1:
Even though there is no official specification for file extensions, the most popular and well-known ones should be added for sure 😄
The project exists for a while and does not require to be updated often so “new“ languages like TypeScript, that introduced new extensions like *.ts
, are not supported yet and contributions to do so are always welcome.
While we're at it we can also add extensions for React JSX (*.jsx
) as well as its TypeScript variant *.tsx
and declarations (*.d.ts
).
Should we use the 256-color scheme for the file extensions?
Those are typically specified as attr;38;5;color_number
, for example like this: https://github.com/seebi/dircolors-solarized/blob/master/dircolors.256dark#L164-L194
We could choose the colors from the cheatsheet, which are closest to the Nord pallete.
Hmm, maybe not (about 256-color scheme). We will probably not use more than 8 distinct colors for file extensions anyway, so we can just stick to the default 8 terminal colors and then let the user customize these colors in the terminal theme itself.
Hi,
Do you have any plans to color more file extensions, especially for programming? .js, .ts, .cs, .h, .cpp, .json, etc. Would you accept a contribution for such extensions?