pvl / abap.tmbundle

TextMate support for ABAP
20 stars 9 forks source link

toplevel keywords #2

Closed larshp closed 9 years ago

larshp commented 9 years ago

keywords that are not inside a METHOD/FORM is not highlighted

In the following code, keywords REPORT and WRITE are not highlighted, however the WRITE inside the FORM is highlighted, hyphenated_keywords seems to work

REPORT zhello.
WRITE: / 'Hello World'.
DATA: ls_wa TYPE usr02.
FIELD-SYMBOLS: <ls_wa> TYPE usr02.

FORM foo.
  WRITE: / 'Hello World'.
ENDFORM.

Update: seems to work when there is leading whitespace