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

Do not highlight "language" in queries #239

Closed
vmarkovtsev opened this issue Sep 25, 2018 · 1 comment
Closed

Do not highlight "language" in queries #239

vmarkovtsev opened this issue Sep 25, 2018 · 1 comment

Comments

@vmarkovtsev
Copy link
Collaborator

We are using CodeMirror, MySQL mode.

It includes "language" in the list of keywords so it is highlighted in the editor. This is very annoying: we have the same function to find the language of a blob.
MySQL indeed lists "language" in the official list of keywords.

I suggest to hack as always:

delete CodeMirror.mimeModes["text/x-mysql"].keywords.language;

Tested - works. I can do a PR if needed.

@carlosms
Copy link
Contributor

If we are going to modify the keywords, I think it would be more useful to include all the gitbase functions.

Closing in favor of #319.

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

No branches or pull requests

2 participants