[MISC] Add .CS Syntax Highlighting (#768)

This commit is contained in:
Johannes Batzill 2023-11-04 00:20:11 +00:00 committed by Harness
parent 93c5cfd36e
commit 3ad550ce69

View File

@ -356,16 +356,17 @@ const MONACO_SUPPORTED_LANGUAGES = [
// due to their similarity. We'll still need to get native support for them at
// some point.
const EXTENSION_TO_LANG: Record<string, string> = {
tsx: 'typescript',
jsx: 'typescript',
cc: 'cpp',
env: 'shell',
makefile: 'shell',
gitignore: 'shell',
toml: 'ini',
alpine: 'dockerfile',
bazel: 'python',
workspace: 'python',
alpine: 'dockerfile'
cc: 'cpp',
cs: 'csharp',
env: 'shell',
gitignore: 'shell',
jsx: 'typescript',
makefile: 'shell',
toml: 'ini',
tsx: 'typescript',
workspace: 'python'
}
export const PLAIN_TEXT = 'plaintext'