mirror of
				https://github.com/KevinMidboe/linguist.git
				synced 2025-10-29 17:50:22 +00:00 
			
		
		
		
	Add Angelscript language (#3844)
* Add AngelScript scriping language * Add AngelScript sample * Initial implementation of Angelscript * Update Angelscript tm_scope and ace_mode * Move Angelscript after ANTLR * Updated grammar list * Alphabetical sorting for Angelscript * Angelscript grammar license is unlicense * Add ActionScript samples * Added a heuristic for .as files * Whitelist sublime-angelscript license hash * Added heuristic test for Angelscript and Actionscript * Remove .acs from Angelscript file extensions
This commit is contained in:
		| @@ -44,6 +44,13 @@ class TestHeuristcs < Minitest::Test | ||||
|     assert_equal Language["Objective-C"], match | ||||
|   end | ||||
|  | ||||
|   def test_as_by_heuristics | ||||
|     assert_heuristics({ | ||||
|       "ActionScript" => all_fixtures("ActionScript", "*.as"), | ||||
|       "AngelScript" => all_fixtures("AngelScript", "*.as") | ||||
|     }) | ||||
|   end | ||||
|  | ||||
|   # Candidate languages = ["AGS Script", "AsciiDoc", "Public Key"] | ||||
|   def test_asc_by_heuristics | ||||
|     assert_heuristics({ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user