pvl / abap.tmbundle

TextMate support for ABAP
21 stars 9 forks source link

Added support for pragma directives #14

Closed FreHu closed 6 years ago

FreHu commented 6 years ago

Example:

image

image

larshp commented 6 years ago

Hi, I guess the . should not be highlighted the same color as the pragma?

image

FreHu commented 6 years ago

Fixed. Now it is also more helpful at discovering invalid states based on pragma documentation:

Pragmas must only occur at certain positions in the source code for reasons of readability:

at the start of a line, after any number of blanks at the end of a line, at the most followed by ".", ",", or ":". but not after ".", ",", or ":". Multiple pragmas may be entered one after another (separated by blanks) at permitted positions.

image