From d4df52e9076be28e411f77dbf88abab317f77a85 Mon Sep 17 00:00:00 2001 From: Boris Verkhovskiy Date: Thu, 4 Apr 2024 22:40:57 -0700 Subject: [PATCH] Add "objective-c" as an alias for Objective-C (#2037) --- lib/rouge/lexers/objective_c.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rouge/lexers/objective_c.rb b/lib/rouge/lexers/objective_c.rb index 36ab6c5442..f1478515c3 100644 --- a/lib/rouge/lexers/objective_c.rb +++ b/lib/rouge/lexers/objective_c.rb @@ -12,7 +12,7 @@ class ObjectiveC < C tag 'objective_c' title "Objective-C" desc 'an extension of C commonly used to write Apple software' - aliases 'objc', 'obj-c', 'obj_c', 'objectivec' + aliases 'objc', 'obj-c', 'obj_c', 'objectivec', 'objective-c' filenames '*.m', '*.h' mimetypes 'text/x-objective_c', 'application/x-objective_c'