From ffc09a459678960b5d04af31dcad013a30ab0fe4 Mon Sep 17 00:00:00 2001 From: Henrik Hodne Date: Sun, 3 Jul 2011 12:56:15 +0200 Subject: [PATCH] Fixed a spelling error --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e0902385..f7be3c1f 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ We use this library at GitHub to detect blob languages, highlight code, ignore b ### Language detection -Linguist defines the list of all languages known to GitHub in a [yaml file](https://github.com/github/linguist/blob/master/lib/linguist/languages.yml). In order for a file to be hightlighed, a language and lexer must be defined there. +Linguist defines the list of all languages known to GitHub in a [yaml file](https://github.com/github/linguist/blob/master/lib/linguist/languages.yml). In order for a file to be highlighted, a language and lexer must be defined there. Most languages are detected by their file extension. This is the fastest and most common situation. For script files, which are usually extensionless, we do "deep content inspection"™ and check the shebang of the file. Checking the file's contents may also be used for disambiguating languages. C, C++ and Obj-C all use `.h` files. Looking for common keywords, we are usually able to guess the correct language.