-
Notifications
You must be signed in to change notification settings - Fork 14
Syntax Highlighting #5
Comments
+1 How is this supposed to work? I don't have syntax highlighting after type checking on a fresh atom 1.0.0 installation with agda-mode. |
Please install language-agda for general syntax highlighting, I suppose this is what you are looking for : ) Syntax highlighting is usually handled by |
No I understood that part; sorry for not being clear. I actually wanted to know about the agda type-driven syntax highlight that requires agda to compile the source. |
Agda sends syntax highlighting informations every time when the file is loaded, which looks something like this:
But currently only I'm not sure if there's any other way (other than Markers) to do the highlighting, but recently they've optimized the markers a bit, maybe it worths trying. |
I'm not sure how it's done in Emacs, but it's not uncommon for the syntax highlight to be slightly off while editing before you compile again (e.g. a function name colored in 2 colors); so I'm not sure that emacs really does a big effort to track highlighted regions when the file changes. |
I believe that Emacs simply erase all highlightings and repaint them again with the annotations sent from Agda, the same can be done in Atom, too. |
General Syntax Highlighting(by language-agda)The text was updated successfully, but these errors were encountered: