mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
Add .applescript extension to AppleScript
This commit is contained in:
@@ -36,6 +36,7 @@ Ada:
|
|||||||
AppleScript:
|
AppleScript:
|
||||||
:ext:
|
:ext:
|
||||||
- .scpt
|
- .scpt
|
||||||
|
- .applescript
|
||||||
Arc:
|
Arc:
|
||||||
:lexer: Text only
|
:lexer: Text only
|
||||||
:ext:
|
:ext:
|
||||||
|
|||||||
@@ -225,8 +225,12 @@ class TestBlob < Test::Unit::TestCase
|
|||||||
|
|
||||||
assert_equal Language['Text'], blob("README").language
|
assert_equal Language['Text'], blob("README").language
|
||||||
|
|
||||||
# https://github.com/xquery/xprocxq/blob/master/src/xquery/util.xqm
|
# https://github.com/xquery/xprocxq/blob/master/src/xquery/xproc.xqm
|
||||||
assert_equal Language['XQuery'], blob("xprocxq.xqm").language
|
assert_equal Language['XQuery'], blob("xproc.xqm").language
|
||||||
|
|
||||||
|
# https://github.com/wycats/osx-window-sizing/blob/master/center.applescript
|
||||||
|
assert_equal Language['AppleScript'], blob("center.scpt").language
|
||||||
|
assert_equal Language['AppleScript'], blob("center.applescript").language
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_lexer
|
def test_lexer
|
||||||
|
|||||||
Reference in New Issue
Block a user