From ac559effaaa3477f74063f0606907ba5fe9c3ef0 Mon Sep 17 00:00:00 2001 From: Scott Lowe Date: Thu, 3 Dec 2015 20:49:59 +0000 Subject: [PATCH] Add octave as an alias for Matlab syntax Since Octave is a clone of Matlab, the syntax is exactly the same and hence it is desirable for highlighting to be exactly the same as well. Adding octave as an alias for Matlab will trivially provide support for highlighting Octave code, and will ensure the two languages always use the same syntax highlighting rules. --- lib/linguist/languages.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/linguist/languages.yml b/lib/linguist/languages.yml index 430fce67..7e17a101 100644 --- a/lib/linguist/languages.yml +++ b/lib/linguist/languages.yml @@ -2043,6 +2043,8 @@ Mathematica: Matlab: type: programming color: "#bb92ac" + aliases: + - octave extensions: - .matlab - .m