diff --git a/lib/linguist/languages.yml b/lib/linguist/languages.yml index bb1150ba..507ab1be 100644 --- a/lib/linguist/languages.yml +++ b/lib/linguist/languages.yml @@ -1364,6 +1364,12 @@ Rebol: Redcode: primary_extension: .cw +reStructuredText: + type: prose + lexer: Text only + wrap: true + primary_extension: .rst + RobotFramework: type: programming primary_extension: .robot diff --git a/test/test_language.rb b/test/test_language.rb index e93cbd5d..6a4d3d7e 100644 --- a/test/test_language.rb +++ b/test/test_language.rb @@ -369,7 +369,7 @@ class TestLanguage < Test::Unit::TestCase end def test_by_type - assert_equal 6, Language.by_type(:prose).length + assert_equal 8, Language.by_type(:prose).length end def test_colorize