Skip to content

github: Highlight stub files with php syntax highlighter#181

Merged
ondrejmirtes merged 2 commits intophpstan:masterfrom
adaamz:patch-1
Apr 17, 2020
Merged

github: Highlight stub files with php syntax highlighter#181
ondrejmirtes merged 2 commits intophpstan:masterfrom
adaamz:patch-1

Conversation

@adaamz
Copy link
Copy Markdown
Contributor

@adaamz adaamz commented Apr 17, 2020

https://github.com/github/linguist#overrides

I merged this PR to my fork's master, so you can preview how it will look like: https://github.com/adaamz/phpstan-src/blob/master/stubs/ArrayObject.stub

@ondrejmirtes
Copy link
Copy Markdown
Member

Nice :)

@ondrejmirtes
Copy link
Copy Markdown
Member

Can you add the same thing for neon to be highlighted as YAML?

@ondrejmirtes
Copy link
Copy Markdown
Member

Love it :)

@ondrejmirtes ondrejmirtes merged commit 4c62bba into phpstan:master Apr 17, 2020
@adaamz adaamz deleted the patch-1 branch April 17, 2020 10:20
@staabm
Copy link
Copy Markdown
Contributor

staabm commented Apr 17, 2020

Thx for the inspiration.. just proposed YAML GitHub wide Syntax Highlighting for NEON files in github-linguist/linguist#4845

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants