hhvm / hack-mode

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

Consider highlighting built in functions #20

Closed Wilfred closed 5 years ago

Wilfred commented 5 years ago

invariant, var_dump etc. This is consistent with Nuclide.

Similar to how len() is highlighted in Python mode. May need some care with namespaces.

Wilfred commented 5 years ago

Functions are here: https://docs.hhvm.com/php/reference/ and https://docs.hhvm.com/hack/reference/function/. For the second link, we should take global functions and HH\foo functions.