mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
Include RST in the languages list
This commit is contained in:
@@ -1364,6 +1364,12 @@ Rebol:
|
|||||||
Redcode:
|
Redcode:
|
||||||
primary_extension: .cw
|
primary_extension: .cw
|
||||||
|
|
||||||
|
reStructuredText:
|
||||||
|
type: prose
|
||||||
|
lexer: Text only
|
||||||
|
wrap: true
|
||||||
|
primary_extension: .rst
|
||||||
|
|
||||||
RobotFramework:
|
RobotFramework:
|
||||||
type: programming
|
type: programming
|
||||||
primary_extension: .robot
|
primary_extension: .robot
|
||||||
|
|||||||
@@ -369,7 +369,7 @@ class TestLanguage < Test::Unit::TestCase
|
|||||||
end
|
end
|
||||||
|
|
||||||
def test_by_type
|
def test_by_type
|
||||||
assert_equal 6, Language.by_type(:prose).length
|
assert_equal 8, Language.by_type(:prose).length
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_colorize
|
def test_colorize
|
||||||
|
|||||||
Reference in New Issue
Block a user