mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
Merge pull request #2831 from FarbodSalamat-Zadeh/patch-1
Add CSV as data type to languages.yml
This commit is contained in:
@@ -474,6 +474,13 @@ CSS:
|
||||
color: "#563d7c"
|
||||
extensions:
|
||||
- .css
|
||||
|
||||
CSV:
|
||||
type: data
|
||||
ace_mode: text
|
||||
tm_scope: none
|
||||
extensions:
|
||||
- .csv
|
||||
|
||||
Cap'n Proto:
|
||||
type: programming
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
Year,Make,Model,Length
|
||||
1997,Ford,E350,2.34
|
||||
2000,Mercury,Cougar,2.38
|
||||
2000,Mercury,Cougar,2.38
|
||||
|
@@ -152,7 +152,7 @@ class TestBlob < Minitest::Test
|
||||
end
|
||||
|
||||
def test_csv
|
||||
assert fixture_blob("Data/cars.csv").csv?
|
||||
assert sample_blob("CSV/cars.csv").csv?
|
||||
end
|
||||
|
||||
def test_pdf
|
||||
|
||||
Reference in New Issue
Block a user