Merge pull request #71 from Uberi/master

Detect AutoHotkey
This commit is contained in:
Joshua Peek
2011-09-01 16:13:37 -07:00
3 changed files with 12 additions and 0 deletions

View File

@@ -60,6 +60,14 @@ AppleScript:
- .applescript
- .scpt
AutoHotkey:
type: programming
lexer: Text only
aliases:
- ahk
extensions:
- .ahk
Arc:
type: programming
lexer: Text only

1
test/fixtures/hello.ahk vendored Normal file
View File

@@ -0,0 +1 @@
MsgBox, Hello`, World!

View File

@@ -341,6 +341,9 @@ class TestBlob < Test::Unit::TestCase
assert_equal Language['Groovy Server Pages'], blob("hello-resources.gsp").language
assert_equal Language['Groovy Server Pages'], blob("hello-pagedirective.gsp").language
assert_equal Language['Groovy Server Pages'], blob("hello-var.gsp").language
# https://github.com/Lexikos/AutoHotkey_L
assert_equal Language['AutoHotkey'], blob("hello.ahk").language
end
def test_lexer