Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Pod 6 to the languages.yml [Pending markup support] #4149

Merged
merged 6 commits into from
Dec 10, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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