Skip to content

Commit 5eb8c44

Browse files
committed
Extend list of supported filetypes
Added: * Bison/Yacc: `*.ypp` * Fossil: `*.fossil` * Roff: `*.pikchr`, `chem.macros`, `{eth,lsd,morphine}.p` References: Alhadis/language-grammars@2debfb3
1 parent ca44b7a commit 5eb8c44

3 files changed

Lines changed: 18 additions & 11 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
1010
----------------------
1111
### Added
1212
- **New icons:** Art Text 4 (`.art4` directories), Bikeshed (`.bs`), dotenv (`.env{,.*}`), Figma (`.figma`), Imgbot (`.imgbotconfig`), Mint (`.mint`), PhotoRec (`.photorec.cfg`), ShellCheck (`.shellcheckrc`), Sponge-powered Mixin (`.mixin{,s}.json`), Windi CSS (`windi.config.{ts,js}`)
13-
- **Support:** Appcelerator Titanium (`.tss`), BC (`.bc`, `bc.library`), Checksum lists (`{.,}{check,ck,crc{,32},md5,rmd160,sha{1..3,224,384,512}}sum{,s}`), DC (`.dc`, `.dcrc`), Database (`.tgn`), EditorConfig (`.ecrc`), Generic (`.ed`), Git (`.lfsconfig`), Grammar (`.grammar`), Mail (`.eml`, `.mbox`, `.mbx`), Maps (`.mapping`, `.tiny`, `.tinyv2`, `.enigma`, `.match`, `.unpick`), PEG.js (`.peggy`), Roff (`*.cstr`, `cstr.54`, `indep_tr`), TextMate (`.tm_properties`, `.tmProperties`), Units (`units.dat`, `unittab`), XML (`.xmp`)
13+
- **Support:** Appcelerator Titanium (`.tss`), BC (`.bc`, `bc.library`), Checksum lists (`{.,}{check,ck,crc{,32},md5,rmd160,sha{1..3,224,384,512}}sum{,s}`), DC (`.dc`, `.dcrc`), Database (`.tgn`), EditorConfig (`.ecrc`), Generic (`.ed`), Git (`.lfsconfig`), Grammar (`.grammar`), Mail (`.eml`, `.mbox`, `.mbx`), Maps (`.mapping`, `.tiny`, `.tinyv2`, `.enigma`, `.match`, `.unpick`), PEG.js (`.peggy`), Roff (`*.cstr`, `cstr.54`, `indep_tr`), TextMate (`.tm_properties`, `.tmProperties`), Units (`units.dat`, `unittab`), XML (`.xmp`), Yacc (`.ypp`)
1414
- Improved modeline support for [Less](https://lesscss.org/) stylesheets
1515

1616
### Fixed

config.cson

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -981,7 +981,7 @@ fileIcons:
981981
[".bison", "medium-red", "bison"]
982982
[".y", "dark-green"]
983983
[".yacc", "medium-green"]
984-
[".yy", "medium-cyan"]
984+
[/\.(yy|ypp)$/i, "medium-cyan"]
985985
]
986986

987987
Bitbucket:
@@ -2537,6 +2537,12 @@ fileIcons:
25372537
[/\.fossaignore$/i, "dark-blue"]
25382538
]
25392539

2540+
Fossil:
2541+
icon: "fossil"
2542+
match: ".fossil"
2543+
colour: "auto-cyan"
2544+
uses: "SQLite"
2545+
25402546
Fountain:
25412547
icon: "fountain"
25422548
match: ".fountain"
@@ -3972,14 +3978,14 @@ fileIcons:
39723978
| ('+\t?|\.\t)\\"\s
39733979
) ///m]
39743980
[/^(man|mdoc)\.template$/i, "dark-green"]
3975-
[/\.(chem|dformat|pic)$|^grap(\.tex)?\.defines$/i, "dark-green"
3976-
alias: /^([gt]?pic|dformat|chem)$/i
3981+
[/\.(chem|dformat|pic|pikchr)$|^grap(\.tex)?\.defines$/i, "dark-green"
3982+
alias: /^([gtd]?pic|dformat|chem|pikchr)$/i
39773983
scope: "source.pic"
3978-
interpreter: /^((pic|grap)2(plot|graph)|[gt]?pic|picpack|picasso)$/
3984+
interpreter: /^((pic|grap)2(plot|graph)|[gtd]?pic|picpack|picasso|pikchr)$/
39793985
signature: /^\.(PS\s[^\0]*?^\.P[EF]|cstart\n[^\0]*?^\.cend|begin dformat\s[^\0]*?^\.end|G1\n[^\0]*?\n\.G2)\n/m]
39803986
[/\.(rnh|rno|run|runoff)$/i, "dark-maroon", "runoff"]
39813987
[/(^|\.)((troff|eqn)rc(-end)?)$/i, "dark-green"]
3982-
[/^tmac\.|^(cstr\.54|indep_tr|mmn|mmt|toc\.entries)$/i, "dark-green", priority: 2]
3988+
[/^tmac\.|^(cstr\.54|indep_tr|mmn|mmt|toc\.entries|chem\.macros|(eth|lsd|morphine)\.p)$/i, "dark-green", priority: 2]
39833989
[/(^|\/)samples\/(eqn|mm|[nt]?roff|pic|tbl)\.[a-z]+$/i, "dark-green", matchPath: true, priority: 0.5]
39843990
[///
39853991
(\\|/)

0 commit comments

Comments
 (0)