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:
 | 
			
		||||
  :ext:
 | 
			
		||||
  - .scpt
 | 
			
		||||
  - .applescript
 | 
			
		||||
Arc:
 | 
			
		||||
  :lexer: Text only
 | 
			
		||||
  :ext:
 | 
			
		||||
 
 | 
			
		||||
@@ -225,8 +225,12 @@ class TestBlob < Test::Unit::TestCase
 | 
			
		||||
 | 
			
		||||
    assert_equal Language['Text'], blob("README").language
 | 
			
		||||
 | 
			
		||||
    # https://github.com/xquery/xprocxq/blob/master/src/xquery/util.xqm
 | 
			
		||||
    assert_equal Language['XQuery'], blob("xprocxq.xqm").language
 | 
			
		||||
    # https://github.com/xquery/xprocxq/blob/master/src/xquery/xproc.xqm
 | 
			
		||||
    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
 | 
			
		||||
 | 
			
		||||
  def test_lexer
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user