Skip to content
This repository has been archived by the owner on Dec 13, 2018. It is now read-only.

Hack Language: Function typedefs break syntax highlighting #126

Open
steelbrain opened this issue Jul 5, 2015 · 2 comments
Open

Hack Language: Function typedefs break syntax highlighting #126

steelbrain opened this issue Jul 5, 2015 · 2 comments

Comments

@steelbrain
Copy link

type SomeShape = shape(
  'func' => (function(string):string),
  'somethingelse' => string
)
$a = null;

Et Voila! No more syntax highlighting after that function(
Even in this github's syntax highlighter 😃

@mostafaeweda
Copy link
Contributor

The syntax highlighting is initially taken from the php text mate bundle: https://github.com/textmate/php.tmbundle and converted to https://github.com/atom/language-php/

@steelbrain
Copy link
Author

Yep. I did the same in my language-hack 😛
So do you guys have any plan about when you can focus on the language-hack fixes or are you waiting for the community to do it?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants