Only offer enum class completion results when cursor is in an enum class context
Summary:
Previously, we'd always offer enum class fields after `#`, regardless of the position of the cursor. This prevented us offering useful completion after enum class syntax.
Looks like we missed this condition in
D35496366 (https://github.com/facebook/hhvm/commit/
91a898af4712851f49f68b73dde2ed99a51c9054).
Reviewed By: hgoldstein
Differential Revision:
D35796054
fbshipit-source-id:
1e75a9cf9dc886b593b250c26fa379cdf98c5e73