Commit df393a0
Add Pod 6 to the languages.yml (#4083)
* Add pod6 to the languages.yml
* Add tm_source to pod6 language entry
* Updated grammar list
* Add heuristics for pod vs pod6
* Add a language_id for Pod6
* Rename 'Pod6' to 'Pod 6'
* Update the grammar list
* Set Pod 6 ace_mode to 'perl' instead of 'perl6' to pass test
* Add sample for Pod 6
* Update heuristics to use Pod 6 instead of Perl 6
* Remove .pod6 as a Pod 6 extension
* Extend Pod 6 heuristics
Both "=begin pod" and "=comment" are Pod 6 unique constructs. As such,
these can be used to differentiate between Pod and Pod 6.
* Merge two regexes in one for Pod 6 heuristics
* Update whitespace match to match all whitespace except newlines
* Remove excessive =
* Add sample POD file for heuristics test
* Update Pod 6 heuristics to default to Pod
* Update Pod 6 heuristics1 parent aae48b5 commit df393a0
5 files changed
Lines changed: 841 additions & 0 deletions
File tree
- lib/linguist
- samples
- Pod 6
- Pod
- vendor
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
380 | 380 | | |
381 | 381 | | |
382 | 382 | | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
383 | 393 | | |
384 | 394 | | |
385 | 395 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3495 | 3495 | | |
3496 | 3496 | | |
3497 | 3497 | | |
| 3498 | + | |
| 3499 | + | |
| 3500 | + | |
| 3501 | + | |
| 3502 | + | |
| 3503 | + | |
| 3504 | + | |
| 3505 | + | |
| 3506 | + | |
| 3507 | + | |
3498 | 3508 | | |
3499 | 3509 | | |
3500 | 3510 | | |
| |||
0 commit comments