mirror of
				https://github.com/KevinMidboe/linguist.git
				synced 2025-10-29 17:50:22 +00:00 
			
		
		
		
	Merge pull request #2123 from larsbrinkhoff/for
Some .for files are text.
This commit is contained in:
		| @@ -164,7 +164,7 @@ module Linguist | |||||||
|       end |       end | ||||||
|     end |     end | ||||||
|  |  | ||||||
|     disambiguate "FORTRAN", "Forth" do |data| |     disambiguate "FORTRAN", "Forth", "Formatted" do |data| | ||||||
|       if /^: /.match(data) |       if /^: /.match(data) | ||||||
|         Language["Forth"] |         Language["Forth"] | ||||||
|       elsif /^([c*][^a-z]|      (subroutine|program)\s|\s*!)/i.match(data) |       elsif /^([c*][^a-z]|      (subroutine|program)\s|\s*!)/i.match(data) | ||||||
|   | |||||||
| @@ -931,6 +931,13 @@ Fantom: | |||||||
|   tm_scope: source.fan |   tm_scope: source.fan | ||||||
|   ace_mode: text |   ace_mode: text | ||||||
|  |  | ||||||
|  | Formatted: | ||||||
|  |   type: data | ||||||
|  |   extensions: | ||||||
|  |   - .for | ||||||
|  |   tm_scope: none | ||||||
|  |   ace_mode: text | ||||||
|  |  | ||||||
| Forth: | Forth: | ||||||
|   type: programming |   type: programming | ||||||
|   color: "#341708" |   color: "#341708" | ||||||
|   | |||||||
							
								
								
									
										1317
									
								
								samples/Formatted/wksst8110.for
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1317
									
								
								samples/Formatted/wksst8110.for
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
		Reference in New Issue
	
	Block a user