Skip to content
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

Several fixes and enhancements to the langage grammar. #52

Merged
merged 5 commits into from
May 19, 2012
Merged

Several fixes and enhancements to the langage grammar. #52

merged 5 commits into from
May 19, 2012

Conversation

sellmerfud
Copy link
Contributor

Fix for issue #46.
Recognize classOf, isInstanceOf, asInstanceOf so the can be styled.
Fix scaladoc comments so that may being in column 1.
Scaladoc comment enhancements:
Style the name following @param as variable.parameter
Style the name following @tparam as entity.name.class
Replace javadoc link{...} with scaladoc [[...]] for reference links.

In param lists, no longer match the param type.  This allows the more
generic matchers to pick it up and thus the storage.type scopes can match it
if possible.
Also, Fix identifiers afetr `def`, `var`, `val`, `type`.
Modify the regex so that it correctly recognizes assignment style identifiers
such as `def name_=`
Give them a scope of `support.function.type-of.scala`
Fix bug where the doc comments were not recognized if they started in column 1.
Give param name @param and @tparam appropriate scopes.
Replace javadoc style link{...} with scaladoc style [[...]]
mads-hartmann added a commit that referenced this pull request May 19, 2012
Several fixes and enhancements to the langage grammar.
@mads-hartmann mads-hartmann merged commit 70662ce into mads-hartmann:master May 19, 2012
@mads-hartmann
Copy link
Owner

wow, this is a nice set of enhancements. Keep up the great work :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants