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:
Seppe Stas
2017-09-07 10:52:27 +02:00
committed by Colin Seymour
parent fa7d433886
commit 7707585d5e
3 changed files with 8 additions and 8 deletions

View File

@@ -2149,13 +2149,6 @@ KRL:
tm_scope: none
ace_mode: text
language_id: 186
KiCad Board:
type: data
extensions:
- ".brd"
tm_scope: source.pcb.board
ace_mode: text
language_id: 140848857
KiCad Layout:
type: data
aliases:
@@ -2171,6 +2164,13 @@ KiCad Layout:
codemirror_mode: commonlisp
codemirror_mime_type: text/x-common-lisp
language_id: 187
KiCad Legacy Layout:
type: data
extensions:
- ".brd"
tm_scope: source.pcb.board
ace_mode: text
language_id: 140848857
KiCad Schematic:
type: data
aliases:

2
vendor/README.md vendored
View File

@@ -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)
- **Julia:** [JuliaEditorSupport/Julia.tmbundle](https://github.com/JuliaEditorSupport/Julia.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 Legacy Layout:** [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)
- **Kotlin:** [vkostyukov/kotlin-sublime-package](https://github.com/vkostyukov/kotlin-sublime-package)