Skip to content

Commit

Permalink
Amend Just language entry (#6167)
Browse files Browse the repository at this point in the history
* Amend just language entry

- Remove `Justfile` alias. `just` is the name of the tool and the
  language.
- Just looks for files called `justfile` in any case, so add the three
  most common cases: `JUSTFILE`, `Justfile`, and `justfile`.
- Add the `.just` extension, which is in common use

* Change language name to `Just`

* Remove `.just` extension

* Fix alphabetisation and casing discrepancies

* Re-add alias back

---------

Co-authored-by: Alhadis <[email protected]>
Co-authored-by: Colin Seymour <[email protected]>
  • Loading branch information
3 people authored Feb 17, 2023
1 parent 3f6d887 commit c1efde2
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 11 deletions.
22 changes: 12 additions & 10 deletions lib/linguist/languages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3332,6 +3332,18 @@ Jupyter Notebook:
aliases:
- IPython Notebook
language_id: 185
Just:
type: programming
aliases:
- Justfile
color: "#384d54"
tm_scope: source.just
filenames:
- JUSTFILE
- Justfile
- justfile
ace_mode: text
language_id: 128447695
KRL:
type: programming
color: "#28430A"
Expand Down Expand Up @@ -7829,16 +7841,6 @@ jq:
- ".jq"
tm_scope: source.jq
language_id: 905371884
just:
type: programming
aliases:
- Justfile
color: "#384d54"
tm_scope: source.just
filenames:
- Justfile
ace_mode: text
language_id: 128447695
kvlang:
type: markup
ace_mode: text
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion vendor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,7 @@ This is a list of grammars that Linguist selects to provide syntax highlighting
- **Jsonnet:** [google/language-jsonnet](https://github.com/google/language-jsonnet)
- **Julia:** [JuliaEditorSupport/atom-language-julia](https://github.com/JuliaEditorSupport/atom-language-julia)
- **Jupyter Notebook:** [Nixinova/NovaGrammars](https://github.com/Nixinova/NovaGrammars)
- **Just:** [skellock/vscode-just](https://github.com/skellock/vscode-just)
- **Kaitai Struct:** [atom/language-yaml](https://github.com/atom/language-yaml)
- **KakouneScript:** [kakoune-editor/language-kak](https://github.com/kakoune-editor/language-kak)
- **KiCad Layout:** [Alhadis/language-pcb](https://github.com/Alhadis/language-pcb)
Expand Down Expand Up @@ -607,7 +608,6 @@ This is a list of grammars that Linguist selects to provide syntax highlighting
- **fish:** [l15n/fish-tmbundle](https://github.com/l15n/fish-tmbundle)
- **hoon:** [pkova/hoon-grammar](https://github.com/pkova/hoon-grammar)
- **jq:** [wader/language-jq](https://github.com/wader/language-jq)
- **just:** [skellock/vscode-just](https://github.com/skellock/vscode-just)
- **kvlang:** [p0lygun/kivy-language-grammer](https://github.com/p0lygun/kivy-language-grammer)
- **mIRC Script:** [gen-angry/language-msl](https://github.com/gen-angry/language-msl)
- **mcfunction:** [Arcensoth/language-mcfunction](https://github.com/Arcensoth/language-mcfunction)
Expand Down

0 comments on commit c1efde2

Please sign in to comment.