Added detection for the Ioke language.

This commit is contained in:
Justin Marsh (:flaviusb)
2011-07-29 01:28:48 +12:00
parent 6e70a985a7
commit 836464542c
3 changed files with 11 additions and 0 deletions

View File

@@ -439,6 +439,11 @@ Io:
extensions:
- .io
Ioke:
type: programming
extensions:
- .ik
JSON:
type: data
group: JavaScript

3
test/fixtures/hello.ik vendored Normal file
View File

@@ -0,0 +1,3 @@
#!/usr/bin/env ioke
"Hello world." println

View File

@@ -314,6 +314,9 @@ class TestBlob < Test::Unit::TestCase
# https://github.com/graydon/rust
assert_equal Language['Rust'], blob("hello.rs").language
# https://github.com/olabini/ioke
assert_equal Language['Ioke'], blob("hello.ik").language
end
def test_lexer