From 7707585d5eefd9ce54ba67ad571c40257dbdb265 Mon Sep 17 00:00:00 2001 From: Seppe Stas Date: Thu, 7 Sep 2017 10:52:27 +0200 Subject: [PATCH] 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 --- lib/linguist/languages.yml | 14 +++++++------- .../tc14badge.brd | 0 vendor/README.md | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) rename samples/{KiCad Board => KiCad Legacy Layout}/tc14badge.brd (100%) diff --git a/lib/linguist/languages.yml b/lib/linguist/languages.yml index 2d38b322..8dd28ad3 100755 --- a/lib/linguist/languages.yml +++ b/lib/linguist/languages.yml @@ -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: diff --git a/samples/KiCad Board/tc14badge.brd b/samples/KiCad Legacy Layout/tc14badge.brd similarity index 100% rename from samples/KiCad Board/tc14badge.brd rename to samples/KiCad Legacy Layout/tc14badge.brd diff --git a/vendor/README.md b/vendor/README.md index cd6373fb..29dbdc95 100644 --- a/vendor/README.md +++ b/vendor/README.md @@ -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)