Skip to content

Commit

Permalink
Add Pod 6 to the languages.yml [Pending markup support] (#4149)
Browse files Browse the repository at this point in the history
* Revert "Revert "Add Pod 6 to the languages.yml (#4083)" (#4148)"

This reverts commit e9ad913.

* add .pod6 to Pod 6 extensions

* bump

* remove XPM disambig from .pod
  • Loading branch information
lildude authored Dec 10, 2018
1 parent 3ff6a9b commit 972669e
Show file tree
Hide file tree
Showing 6 changed files with 837 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/linguist/heuristics.rb
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ def call(data)
end
end
end

end

class And
Expand Down
5 changes: 5 additions & 0 deletions lib/linguist/heuristics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,11 @@ disambiguations:
named_pattern: perl6
- language: XPM
pattern: '^\s*\/\* XPM \*\/'
- extensions: ['.pod']
rules:
- language: Pod 6
pattern: '^[\s&&[^\n]]*=(comment|begin pod|begin para|item\d+)'
- language: Pod
- extensions: ['.pp']
rules:
- language: Pascal
Expand Down
11 changes: 11 additions & 0 deletions lib/linguist/languages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3615,6 +3615,17 @@ Pod:
- perl
tm_scope: none
language_id: 288
Pod 6:
type: prose
ace_mode: perl
tm_scope: source.perl6fe
wrap: true
extensions:
- ".pod"
- ".pod6"
interpreters:
- perl6
language_id: 155357471
PogoScript:
type: programming
color: "#d80074"
Expand Down
Loading

0 comments on commit 972669e

Please sign in to comment.