mirror of https://github.com/Wilfred/difftastic/
Add basic syntax highlighting for Hack
parent
3400a97a9d
commit
d0f8b49df1
@ -1,5 +1,9 @@
|
||||
<?hh
|
||||
|
||||
/**
|
||||
* Do stuff
|
||||
*/
|
||||
function foo(): vec<?int> {
|
||||
$x = "foo";
|
||||
return vec[1, null];
|
||||
}
|
||||
|
||||
@ -1,5 +1,9 @@
|
||||
<?hh
|
||||
|
||||
/**
|
||||
* Do stuff
|
||||
*/
|
||||
function foo(): vec<int> {
|
||||
$x = "foo";
|
||||
return vec[1];
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue