Skip to content

Commit

Permalink
Fixed G-code (#4488)
Browse files Browse the repository at this point in the history
* Fixed G-code

- Changed from `data` to `programming` -> CNC Programmers create gcode files that instruct machines where to move and what to do
- Gave a color (#ff4d6b)
- Added a commonly used file type for CNC programming (.mpf)

* Updated because mpf isn't as widely used as .cnc

cnc is a more widely used file extension than mpf is

* added sample cnc program

Sample CNC program for linguist

* Fixed color code and alphabetized file types
  • Loading branch information
Tanner authored and lildude committed May 28, 2019
1 parent d9a1c0c commit 7805848
Show file tree
Hide file tree
Showing 2 changed files with 731 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/linguist/languages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1465,9 +1465,11 @@ Frege:
ace_mode: haskell
language_id: 116
G-code:
type: data
type: programming
color: "#D08CF2"
extensions:
- ".g"
- ".cnc"
- ".gco"
- ".gcode"
tm_scope: source.gcode
Expand Down
Loading

0 comments on commit 7805848

Please sign in to comment.