-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some operator are not highlighted #8
Comments
Add := and > as tsLineOperator. Relates elmar-hinz#8
Hello Daniel, thank you very much for the pull request. I test it and try to follow the improvements. Let's review the Object unsetting sign ">" first. You say it is not highlighted. I find the entry:
This should match it and classify it as
This regular expression above assumes, that it is not followed by other text within the same line. It would not be matched, if you place a comment within the same line. The expression says:
I am a little out of exercise with typoscript. Maybe you like to provide a small file with all examples, that should be highlighted. As a common test case. Does not need to be real TS, just a concentrate of all features. I suggest the path:
As a separate pull request, I could merge it first. |
Add := and > as tsLineOperator. Relates elmar-hinz#8
TypoScript provides the following operator which are not highlighted yet:
:=
,>
.https://docs.typo3.org/typo3cms/CoreApiReference/ApiOverview/TypoScriptSyntax/Syntax/TypoScriptSyntax.html
Also one might highlight special keywords used in combination with
:=
: https://docs.typo3.org/typo3cms/CoreApiReference/ApiOverview/TypoScriptSyntax/Syntax/TypoScriptSyntax.html#value-modifications-the-operatorThe text was updated successfully, but these errors were encountered: