From 72026d3a3d809a630d6d52d1190b8001d54212a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nathana=C3=ABl=20L=C3=A9caud=C3=A9?= Date: Sun, 24 Nov 2013 13:36:26 -0500 Subject: [PATCH 1/2] Changed primary extension for Max Changed primary extension for Max to .maxpat .mxt is a legacy file format. --- lib/linguist/languages.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/linguist/languages.yml b/lib/linguist/languages.yml index 51b3c0a0..9498c1ff 100644 --- a/lib/linguist/languages.yml +++ b/lib/linguist/languages.yml @@ -949,10 +949,11 @@ Max: - max/msp - maxmsp search_term: max/msp - primary_extension: .mxt + primary_extension: .maxpat extensions: - .maxhelp - - .maxpat + - .mxt + - .pat MiniD: # Legacy searchable: false From f64a589e988a7b35706fe8af2f9bb0d6ff2042ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nathana=C3=ABl=20L=C3=A9caud=C3=A9?= Date: Sun, 24 Nov 2013 13:54:10 -0500 Subject: [PATCH 2/2] Moved the Max examples to the Max folder --- lib/linguist/languages.yml | 11 ++++++++--- samples/{JSON => Max}/Hello.maxhelp | 0 samples/{JSON => Max}/Hello.maxpat | 0 3 files changed, 8 insertions(+), 3 deletions(-) rename samples/{JSON => Max}/Hello.maxhelp (100%) rename samples/{JSON => Max}/Hello.maxpat (100%) diff --git a/lib/linguist/languages.yml b/lib/linguist/languages.yml index 9498c1ff..50540a6e 100644 --- a/lib/linguist/languages.yml +++ b/lib/linguist/languages.yml @@ -747,6 +747,10 @@ JSON: - .sublime_session - .sublime-settings - .sublime-workspace + - .maxpat + - .maxhelp + - .maxpresets + - .maxproj filenames: - composer.lock @@ -944,7 +948,7 @@ Matlab: Max: type: programming color: "#ce279c" - lexer: Text only + lexer: JSON aliases: - max/msp - maxmsp @@ -952,8 +956,9 @@ Max: primary_extension: .maxpat extensions: - .maxhelp - - .mxt - - .pat + - .maxproj + - .mxt # Legacy + - .pat # Legacy MiniD: # Legacy searchable: false diff --git a/samples/JSON/Hello.maxhelp b/samples/Max/Hello.maxhelp similarity index 100% rename from samples/JSON/Hello.maxhelp rename to samples/Max/Hello.maxhelp diff --git a/samples/JSON/Hello.maxpat b/samples/Max/Hello.maxpat similarity index 100% rename from samples/JSON/Hello.maxpat rename to samples/Max/Hello.maxpat