mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
Added detection for the Ioke language.
This commit is contained in:
@@ -439,6 +439,11 @@ Io:
|
|||||||
extensions:
|
extensions:
|
||||||
- .io
|
- .io
|
||||||
|
|
||||||
|
Ioke:
|
||||||
|
type: programming
|
||||||
|
extensions:
|
||||||
|
- .ik
|
||||||
|
|
||||||
JSON:
|
JSON:
|
||||||
type: data
|
type: data
|
||||||
group: JavaScript
|
group: JavaScript
|
||||||
|
|||||||
3
test/fixtures/hello.ik
vendored
Normal file
3
test/fixtures/hello.ik
vendored
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
#!/usr/bin/env ioke
|
||||||
|
|
||||||
|
"Hello world." println
|
||||||
@@ -314,6 +314,9 @@ class TestBlob < Test::Unit::TestCase
|
|||||||
|
|
||||||
# https://github.com/graydon/rust
|
# https://github.com/graydon/rust
|
||||||
assert_equal Language['Rust'], blob("hello.rs").language
|
assert_equal Language['Rust'], blob("hello.rs").language
|
||||||
|
|
||||||
|
# https://github.com/olabini/ioke
|
||||||
|
assert_equal Language['Ioke'], blob("hello.ik").language
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_lexer
|
def test_lexer
|
||||||
|
|||||||
Reference in New Issue
Block a user