Skip to content

Conversation

@dlsniper
Copy link
Member

This introduces support for highlighting builtin functions. However to do this, the test class had to be updated which lead to the noise in the PR.

}

private static TextAttributesKey getColor(GoNamedSignatureOwner o) {
if (GoPsiImplUtil.isBuiltinFile(o.getContainingFile())) return BUILTIN_FUNCTION;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

GoPsiImplUtil#builtin

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated, thank you.

zolotov added a commit that referenced this pull request Feb 7, 2016
Introduce support for builtin function highlighting (fixes #1841)
@zolotov zolotov merged commit cfa86a8 into go-lang-plugin-org:master Feb 7, 2016
@dlsniper dlsniper deleted the improve-highlighting2 branch February 7, 2016 21:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants