lib/linguist/languages.yml in github-linguist-6.2.0 vs lib/linguist/languages.yml in github-linguist-6.3.0

- old
+ new

@@ -1,31 +1,34 @@ # Defines all Languages known to GitHub. # -# type - Either data, programming, markup, prose, or nil -# aliases - An Array of additional aliases (implicitly -# includes name.downcase) -# ace_mode - A String name of the Ace Mode used for highlighting whenever -# a file is edited. This must match one of the filenames in http://git.io/3XO_Cg. -# Use "text" if a mode does not exist. -# codemirror_mode - A String name of the CodeMirror Mode used for highlighting whenever a file is edited. -# This must match a mode from https://git.io/vi9Fx -# wrap - Boolean wrap to enable line wrapping (default: false) -# extensions - An Array of associated extensions (the first one is -# considered the primary extension, the others should be -# listed alphabetically) -# interpreters - An Array of associated interpreters -# searchable - Boolean flag to enable searching (defaults to true) -# language_id - Integer used as a language-name-independent indexed field so that we can rename -# languages in Linguist without reindexing all the code on GitHub. Must not be -# changed for existing languages without the explicit permission of GitHub staff. -# color - CSS hex color to represent the language. Only used if type is "programming" or "prose". -# tm_scope - The TextMate scope that represents this programming -# language. This should match one of the scopes listed in -# the grammars.yml file. Use "none" if there is no grammar -# for this language. -# group - Name of the parent language. Languages in a group are counted -# in the statistics as the parent language. +# type - Either data, programming, markup, prose, or nil +# aliases - An Array of additional aliases (implicitly +# includes name.downcase) +# ace_mode - A String name of the Ace Mode used for highlighting whenever +# a file is edited. This must match one of the filenames in http://git.io/3XO_Cg. +# Use "text" if a mode does not exist. +# codemirror_mode - A String name of the CodeMirror Mode used for highlighting whenever a file is edited. +# This must match a mode from https://git.io/vi9Fx +# codemirror_mime_type - A String name of the file mime type used for highlighting whenever a file is edited. +# This should match the `mime` associated with the mode from https://git.io/f4SoQ +# wrap - Boolean wrap to enable line wrapping (default: false) +# extensions - An Array of associated extensions (the first one is +# considered the primary extension, the others should be +# listed alphabetically) +# filenames - An Array of filenames commonly associated with the language +# interpreters - An Array of associated interpreters +# searchable - Boolean flag to enable searching (defaults to true) +# language_id - Integer used as a language-name-independent indexed field so that we can rename +# languages in Linguist without reindexing all the code on GitHub. Must not be +# changed for existing languages without the explicit permission of GitHub staff. +# color - CSS hex color to represent the language. Only used if type is "programming" or "prose". +# tm_scope - The TextMate scope that represents this programming +# language. This should match one of the scopes listed in +# the grammars.yml file. Use "none" if there is no grammar +# for this language. +# group - Name of the parent language. Languages in a group are counted +# in the statistics as the parent language. # # Any additions or modifications (even trivial) should have corresponding # test changes in `test/test_blob.rb`. # # Please keep this list alphabetized. Capitalization comes before lowercase. @@ -726,11 +729,11 @@ type: markup group: HTML ace_mode: soy_template codemirror_mode: soy codemirror_mime_type: text/x-soy - alias: + aliases: - soy extensions: - ".soy" tm_scope: text.html.soy language_id: 357046146 @@ -822,11 +825,12 @@ ace_mode: lisp codemirror_mode: commonlisp codemirror_mime_type: text/x-common-lisp language_id: 66 Common Workflow Language: - alias: cwl + aliases: + - cwl type: programming ace_mode: yaml codemirror_mode: yaml codemirror_mime_type: text/x-yaml extensions: @@ -1055,11 +1059,12 @@ ace_mode: diff codemirror_mode: diff codemirror_mime_type: text/x-diff language_id: 88 Dockerfile: - type: data + type: programming + color: "#0db7ed" tm_scope: source.dockerfile extensions: - ".dockerfile" filenames: - Dockerfile @@ -1443,10 +1448,11 @@ tm_scope: source.gdb ace_mode: text language_id: 122 GDScript: type: programming + color: "#355570" extensions: - ".gd" tm_scope: source.gdscript ace_mode: text language_id: 123 @@ -1581,11 +1587,11 @@ ace_mode: text color: "#5B2063" language_id: 76 Glyph: type: programming - color: "#e4cc98" + color: "#c1ac7f" extensions: - ".glf" tm_scope: source.tcl ace_mode: tcl codemirror_mode: tcl @@ -2080,24 +2086,50 @@ - ".webapp" - ".webmanifest" filenames: - ".arcconfig" - ".htmlhintrc" - - ".jscsrc" - - ".jshintrc" - ".tern-config" - ".tern-project" - composer.lock - mcmod.info language_id: 174 -JSON5: +JSON with Comments: type: data + group: JSON + tm_scope: source.js + ace_mode: javascript + codemirror_mode: javascript + codemirror_mime_type: text/javascript + aliases: + - jsonc extensions: - - ".json5" + - ".sublime-build" + - ".sublime-commands" + - ".sublime-completions" + - ".sublime-keymap" + - ".sublime-macro" + - ".sublime-menu" + - ".sublime-mousemap" + - ".sublime-project" + - ".sublime-settings" + - ".sublime-theme" + - ".sublime-workspace" + - ".sublime_metrics" + - ".sublime_session" filenames: - ".babelrc" + - ".eslintrc.json" + - ".jscsrc" + - ".jshintrc" - ".jslintrc" + - tsconfig.json + language_id: 423 +JSON5: + type: data + extensions: + - ".json5" tm_scope: source.js ace_mode: javascript codemirror_mode: javascript codemirror_mime_type: application/json language_id: 175 @@ -2245,11 +2277,11 @@ aliases: - IPython Notebook language_id: 185 KRL: type: programming - color: "#28431f" + color: "#28430A" extensions: - ".krl" tm_scope: none ace_mode: text language_id: 186 @@ -2940,11 +2972,10 @@ codemirror_mode: commonlisp codemirror_mime_type: text/x-common-lisp language_id: 246 NewLisp: type: programming - lexer: NewLisp color: "#87AED7" extensions: - ".nl" - ".lisp" - ".lsp" @@ -3965,11 +3996,11 @@ tm_scope: none ace_mode: text language_id: 323 Ring: type: programming - color: "#0e60e3" + color: "#2D54CB" extensions: - ".ring" tm_scope: source.ring ace_mode: text language_id: 431 @@ -4525,32 +4556,10 @@ extensions: - ".srt" ace_mode: text tm_scope: text.srt language_id: 360 -Sublime Text Config: - type: data - group: JSON - tm_scope: source.js - ace_mode: javascript - codemirror_mode: javascript - codemirror_mime_type: text/javascript - extensions: - - ".sublime-build" - - ".sublime-commands" - - ".sublime-completions" - - ".sublime-keymap" - - ".sublime-macro" - - ".sublime-menu" - - ".sublime-mousemap" - - ".sublime-project" - - ".sublime-settings" - - ".sublime-theme" - - ".sublime-workspace" - - ".sublime_metrics" - - ".sublime_session" - language_id: 423 SugarSS: type: markup tm_scope: source.css.postcss.sugarss group: CSS extensions: @@ -4826,11 +4835,11 @@ type: programming group: Assembly extensions: - ".s" - ".ms" - tm_scope: source.assembly.unix + tm_scope: source.x86 ace_mode: assembly_x86 language_id: 120 Uno: type: programming extensions: @@ -4861,10 +4870,10 @@ tm_scope: source.ur ace_mode: text language_id: 383 VCL: type: programming - color: "#0298c3" + color: "#148AA8" extensions: - ".vcl" tm_scope: source.varnish.vcl ace_mode: text language_id: 384