From 4bf742bce2ec669798177ee345a467d26b7c4e47 Mon Sep 17 00:00:00 2001 From: Joshua Peek Date: Mon, 13 Jun 2011 23:43:05 -0500 Subject: [PATCH] More notes on languages config --- lib/linguist/languages.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/lib/linguist/languages.yml b/lib/linguist/languages.yml index c7dc7c41..ee2bac60 100644 --- a/lib/linguist/languages.yml +++ b/lib/linguist/languages.yml @@ -1,4 +1,9 @@ -# Defines all Lanaguges known to GitHub +# Defines all Languges known to GitHub. +# +# All languages have an associated lexer for syntax highlighting. It +# defaults to name.downcase, which covers most cases. Make sure the +# lexer exists in lexers.yml. This is a list of available in our +# version of pygments. # # lexer - An explicit lexer String (defaults to name.downcase) # aliases - An Array of additional aliases (implicitly @@ -7,6 +12,11 @@ # searchable - Boolean flag to enable searching (defaults to true) # search_term - Deprecated: Some langauges maybe indexed under a # different alias. Avoid defining new exceptions. +# +# Any additions or modifications (even trivial) should have corresponding +# test change in `test/test_language.rb`. +# +# Please keep this list alphabetized. ASP: lexer: aspx-vb