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

Fix cache result of external grammar info #696

Conversation

angelozerr
Copy link
Contributor

Fix cache result of external grammar info.

Signed-off-by: azerr [email protected]

@angelozerr
Copy link
Contributor Author

This PR uses the (none used referencedExternalGrammarInitialized flag) to avoid computing the information if DOM document has an external grammar or not.

No need to write test, because we have test for that.

@angelozerr angelozerr self-assigned this May 13, 2020
@angelozerr angelozerr added this to the 0.12.0 milestone May 13, 2020
@fbricon fbricon added the bug Something isn't working label May 13, 2020
@angelozerr angelozerr force-pushed the cache-referencedExternalGrammarInitialized branch from 6891a16 to 1ddd0b4 Compare May 13, 2020 12:52
@fbricon fbricon merged commit 6fb6e08 into eclipse-lemminx:master May 13, 2020
@xorye xorye changed the title Fix cache result of external grammar info. Fix cache result of external grammar info Jun 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants