-
Notifications
You must be signed in to change notification settings - Fork 31
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
Performance issues with graphql-mode and Emacs-26.1 #18
Comments
I can't reproduce this issue. Could you try provide an example schema that I can check? |
@davazp I have the same problem. I use 20190320.757 and emacs 26.1. I see these errors in
fwiw, type OrganizationTeamsHovercardContext implements HovercardContext @preview(
toggledBy: "hagar-preview") { If I move around, I see more similar errors
Location 215868 goes after another similar directive: type OrganizationsHovercardContext implements HovercardContext @preview(
toggledBy: "hagar-preview") { |
So I would suspect this line. ;; Directives
("@\\_<.+?\\_>" . font-lock-keyword-face) I thought I know regexps but for the life of me I can't grok what's (later) Ahaa, found it
So the regexp sounds legit... The next suspect is |
I also think it is We could need to do some error handling, so it just doesn't highlight things that are not well formatted. I will try to find some time, let me know about your findings if you look more into it! 👍 |
I use graphql-mode in mmm-mode together with |
I'm having a noticeable lag running any editing command while using
graphql-mode
. I'm using version20180303.2358
installed frommelpa
and Emacs 26.1. My schema file has around 300 linesThe text was updated successfully, but these errors were encountered: