hhvm / hack-mode

A Emacs major mode for editing Hack code
GNU General Public License v3.0
11 stars 11 forks source link

`<=` is treated as an opening bracket #30

Closed kq-li closed 5 years ago

kq-li commented 5 years ago

Emacs highlights the final } in the below example as a mismatched pair with the < in the comparison above it:

Expected:

function f(int $n): bool {
  return $n <= 0;
}

Actual:

function f(int $n): bool {
  return $n <= 0;
             }
kq-li commented 5 years ago

thanks for putting up with my crap 😅 appreciate your fast work on all these issues!