mirror of
				https://github.com/KevinMidboe/linguist.git
				synced 2025-10-29 17:50:22 +00:00 
			
		
		
		
	Add support for font-specific formats (#3142)
* markdown and font-specific updates languages.yml - Markdown: ← extensions: .md.txt - Text: ← extensions: .text - Text: ← filenames: FONTLOG http://scripts.sil.org/cms/scripts/page.php?item_id=OFL-FAQ_web#43cecb44 - OpenType: ← extensions: .fea https://www.adobe.com/devnet/opentype/afdko/topic_feature_file_syntax.html - Spline Font: ← extensions: .sfd http://fontforge.github.io/en-US/documentation/developers/sfdformat/ * Update languages.yml `type: data` for SFD * Update languages.yml OpenType feature ← type: markup * Update languages.yml alphabetic order * Update languages.yml incorporated suggestions: - “OpenType Font Feature” → “Opentype feature” (no “file” at the end, because that’s left out almost everywhere else, too) - `tm_scope` according to https://github.com/Alhadis/language-fontforge * remove non-font related additions - `.md.txt` Markdown - `.text` Plain Text * Update languages.yml remove comment * changed names as requested * Merge remote-tracking branch 'github/master' into patch-2 # Conflicts: # lib/linguist/languages.yml * quote marks * Revert "Merge remote-tracking branch 'github/master' into patch-2" This reverts commit 18e4256b828c4186fec806319cbf8b76f0d2c79b. * Update language IDs * Add missing submodule to grammars list
This commit is contained in:
		
				
					committed by
					
						 Brandon Black
						Brandon Black
					
				
			
			
				
	
			
			
			
						parent
						
							0e9109c3fc
						
					
				
				
					commit
					ecdae83364
				
			
							
								
								
									
										3
									
								
								.gitmodules
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								.gitmodules
									
									
									
									
										vendored
									
									
								
							| @@ -800,3 +800,6 @@ | ||||
| [submodule "vendor/grammars/EBNF.tmbundle"] | ||||
| 	path = vendor/grammars/EBNF.tmbundle | ||||
| 	url = https://github.com/sanssecours/EBNF.tmbundle | ||||
| [submodule "vendor/grammars/language-fontforge"] | ||||
| 	path = vendor/grammars/language-fontforge | ||||
| 	url = https://github.com/Alhadis/language-fontforge | ||||
|   | ||||
| @@ -362,6 +362,10 @@ vendor/grammars/language-csound: | ||||
| - source.csound-score | ||||
| vendor/grammars/language-emacs-lisp: | ||||
| - source.emacs.lisp | ||||
| vendor/grammars/language-fontforge: | ||||
| - source.fontforge | ||||
| - source.opentype | ||||
| - text.sfd | ||||
| vendor/grammars/language-gfm: | ||||
| - source.gfm | ||||
| vendor/grammars/language-graphql: | ||||
|   | ||||
| @@ -1141,9 +1141,9 @@ Emacs Lisp: | ||||
|   - ".gnus" | ||||
|   - ".spacemacs" | ||||
|   - ".viper" | ||||
|   - "Project.ede" | ||||
|   - "_emacs" | ||||
|   - "abbrev_defs" | ||||
|   - Project.ede | ||||
|   - _emacs | ||||
|   - abbrev_defs | ||||
|   extensions: | ||||
|   - ".el" | ||||
|   - ".emacs" | ||||
| @@ -2956,6 +2956,15 @@ OpenSCAD: | ||||
|   - ".scad" | ||||
|   tm_scope: none | ||||
|   ace_mode: scad | ||||
|   language_id: 431 | ||||
| OpenType Feature File: | ||||
|   type: data | ||||
|   aliases: | ||||
|   - AFDKO | ||||
|   extensions: | ||||
|   - ".fea" | ||||
|   tm_scope: source.opentype | ||||
|   ace_mode: text | ||||
|   language_id: 266 | ||||
| Org: | ||||
|   type: prose | ||||
| @@ -3175,7 +3184,7 @@ Perl6: | ||||
| Pic: | ||||
|   type: markup | ||||
|   group: Groff | ||||
|   tm_scope: "source.pic" | ||||
|   tm_scope: source.pic | ||||
|   extensions: | ||||
|   - ".pic" | ||||
|   - ".chem" | ||||
| @@ -4030,6 +4039,13 @@ SourcePawn: | ||||
|   - ".sma" | ||||
|   tm_scope: source.sp | ||||
|   ace_mode: text | ||||
|   language_id: 432 | ||||
| Spline Font Database: | ||||
|   type: data | ||||
|   extensions: | ||||
|   - ".sfd" | ||||
|   tm_scope: text.sfd | ||||
|   ace_mode: yaml | ||||
|   language_id: 354 | ||||
| Squirrel: | ||||
|   type: programming | ||||
| @@ -4261,6 +4277,7 @@ Text: | ||||
|   - ".no" | ||||
|   filenames: | ||||
|   - COPYING | ||||
|   - FONTLOG | ||||
|   - INSTALL | ||||
|   - LICENSE | ||||
|   - NEWS | ||||
|   | ||||
							
								
								
									
										1
									
								
								vendor/grammars/language-fontforge
									
									
									
									
										vendored
									
									
										Submodule
									
								
							
							
								
								
								
								
								
							
						
						
									
										1
									
								
								vendor/grammars/language-fontforge
									
									
									
									
										vendored
									
									
										Submodule
									
								
							 Submodule vendor/grammars/language-fontforge added at b8233304fd
									
								
							
							
								
								
									
										18
									
								
								vendor/licenses/grammar/language-fontforge.txt
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								vendor/licenses/grammar/language-fontforge.txt
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,18 @@ | ||||
| --- | ||||
| type: grammar | ||||
| name: language-fontforge | ||||
| license: isc | ||||
| --- | ||||
| Copyright (c) 2016, John Gardner | ||||
|  | ||||
| Permission to use, copy, modify, and/or distribute this software for any | ||||
| purpose with or without fee is hereby granted, provided that the above | ||||
| copyright notice and this permission notice appear in all copies. | ||||
|  | ||||
| THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES | ||||
| WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF | ||||
| MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR | ||||
| ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES | ||||
| WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN | ||||
| ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF | ||||
| OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | ||||
		Reference in New Issue
	
	Block a user