mirror of
				https://github.com/KevinMidboe/linguist.git
				synced 2025-10-29 17:50:22 +00:00 
			
		
		
		
	Change KiCad Board language to KiCad Legacy Layout (#3799)
* Change KiCad Board language to KiCad Legacy Layout KiCad .brd files and .kicad_pcb files have the same purpose, they are both source files for PCB layouts. Having one of the file types named "KiCad Board" and the other one "KiCad Layout" can cause confusion since it implies they are not the same thing. The [.brd files use the old, legacy layout format](http://kicad-pcb.org/help/file-formats/#_native_file_formats) that is [not actively used anymore](https://github.com/search?utf8=%E2%9C%93&q=language%3A%22KiCad+Board%22&type=Repositories&ref=advsearch&l=KiCad+Board&l=). Having it come before the KiCad Layout language in the Language Selection list and not having it flagged as legacy can cause people to select it when searching for KiCad layout files. * Change KiCad sample according to changes in 4b306f34 * Update vendor/README.md using script/list-grammars
This commit is contained in:
		
				
					committed by
					
						 Colin Seymour
						Colin Seymour
					
				
			
			
				
	
			
			
			
						parent
						
							fa7d433886
						
					
				
				
					commit
					7707585d5e
				
			| @@ -2149,13 +2149,6 @@ KRL: | |||||||
|   tm_scope: none |   tm_scope: none | ||||||
|   ace_mode: text |   ace_mode: text | ||||||
|   language_id: 186 |   language_id: 186 | ||||||
| KiCad Board: |  | ||||||
|   type: data |  | ||||||
|   extensions: |  | ||||||
|   - ".brd" |  | ||||||
|   tm_scope: source.pcb.board |  | ||||||
|   ace_mode: text |  | ||||||
|   language_id: 140848857 |  | ||||||
| KiCad Layout: | KiCad Layout: | ||||||
|   type: data |   type: data | ||||||
|   aliases: |   aliases: | ||||||
| @@ -2171,6 +2164,13 @@ KiCad Layout: | |||||||
|   codemirror_mode: commonlisp |   codemirror_mode: commonlisp | ||||||
|   codemirror_mime_type: text/x-common-lisp |   codemirror_mime_type: text/x-common-lisp | ||||||
|   language_id: 187 |   language_id: 187 | ||||||
|  | KiCad Legacy Layout: | ||||||
|  |   type: data | ||||||
|  |   extensions: | ||||||
|  |   - ".brd" | ||||||
|  |   tm_scope: source.pcb.board | ||||||
|  |   ace_mode: text | ||||||
|  |   language_id: 140848857 | ||||||
| KiCad Schematic: | KiCad Schematic: | ||||||
|   type: data |   type: data | ||||||
|   aliases: |   aliases: | ||||||
|   | |||||||
							
								
								
									
										2
									
								
								vendor/README.md
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								vendor/README.md
									
									
									
									
										vendored
									
									
								
							| @@ -180,8 +180,8 @@ This is a list of grammars that Linguist selects to provide syntax highlighting | |||||||
| - **JSX:** [github-linguist/language-babel](https://github.com/github-linguist/language-babel) | - **JSX:** [github-linguist/language-babel](https://github.com/github-linguist/language-babel) | ||||||
| - **Julia:** [JuliaEditorSupport/Julia.tmbundle](https://github.com/JuliaEditorSupport/Julia.tmbundle) | - **Julia:** [JuliaEditorSupport/Julia.tmbundle](https://github.com/JuliaEditorSupport/Julia.tmbundle) | ||||||
| - **Jupyter Notebook:** [textmate/json.tmbundle](https://github.com/textmate/json.tmbundle) | - **Jupyter Notebook:** [textmate/json.tmbundle](https://github.com/textmate/json.tmbundle) | ||||||
| - **KiCad Board:** [Alhadis/language-pcb](https://github.com/Alhadis/language-pcb) |  | ||||||
| - **KiCad Layout:** [Alhadis/language-pcb](https://github.com/Alhadis/language-pcb) | - **KiCad Layout:** [Alhadis/language-pcb](https://github.com/Alhadis/language-pcb) | ||||||
|  | - **KiCad Legacy Layout:** [Alhadis/language-pcb](https://github.com/Alhadis/language-pcb) | ||||||
| - **KiCad Schematic:** [Alhadis/language-pcb](https://github.com/Alhadis/language-pcb) | - **KiCad Schematic:** [Alhadis/language-pcb](https://github.com/Alhadis/language-pcb) | ||||||
| - **Kit:** [textmate/html.tmbundle](https://github.com/textmate/html.tmbundle) | - **Kit:** [textmate/html.tmbundle](https://github.com/textmate/html.tmbundle) | ||||||
| - **Kotlin:** [vkostyukov/kotlin-sublime-package](https://github.com/vkostyukov/kotlin-sublime-package) | - **Kotlin:** [vkostyukov/kotlin-sublime-package](https://github.com/vkostyukov/kotlin-sublime-package) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user