2021-10-28 21:05:35 +01:00
|
|
|
export const languages = {
|
2022-01-08 19:10:27 +00:00
|
|
|
config: ['yaml', 'json', 'xml', 'ini'],
|
2021-10-28 21:05:35 +01:00
|
|
|
code: [
|
|
|
|
|
'java',
|
|
|
|
|
'javascript',
|
|
|
|
|
'typescript',
|
|
|
|
|
'python',
|
|
|
|
|
'kotlin',
|
2022-01-08 19:10:27 +00:00
|
|
|
'cpp',
|
|
|
|
|
'csharp',
|
|
|
|
|
'shell',
|
2021-10-28 21:05:35 +01:00
|
|
|
'ruby',
|
|
|
|
|
'rust',
|
|
|
|
|
'sql',
|
|
|
|
|
'go',
|
|
|
|
|
],
|
2022-01-08 19:10:27 +00:00
|
|
|
web: ['html', 'css', 'php'],
|
|
|
|
|
misc: ['plain', 'dockerfile', 'markdown'],
|
2021-10-28 21:05:35 +01:00
|
|
|
};
|
|
|
|
|
|
2022-01-08 19:10:27 +00:00
|
|
|
// missing following the rewrite: toml, properties, log, javastacktrace, groovy, haskell, protobuf
|
|
|
|
|
// would be good to add these back with custom language definitions
|
2021-03-26 22:00:12 +00:00
|
|
|
|
2022-01-08 19:10:27 +00:00
|
|
|
export const languageIds = Object.values(languages).flat(1);
|