4 ms·
Intermediate emacs user here. I really like the way Atom highlights Python code. With this I see it being even better. A question for the author: does this expa
by peterhadlaw 11y ago
Intermediate emacs user here. I really like the way Atom highlights Python code. With this I see it being even better. A question for the author: does this expand upon the capabilities of the editor or just provide a route for quicker updates that eventually could be mainlined?
I've been thinking about scratching the itch to expand emacs Python highlighting to match that of Atom. From the looks of it, the code highlighting was primarily regex based, and the same from my cursory observations looking at emacs Python-mode syntax highlighting mechanisms. Could I incorporate this somehow into emacs from what I've said here so far?
Also, thanks for helping out the community!
- 1st1 11y ago> [...] A question for the author: does this expand upon the capabilities of the editor [...] MagicPython is a completely new implementation, written from scratch. The ultimate goal would be to integrate it into Atom and Sublime Text by default (here's an issue I created for Atom for example [1]) > Could I incorporate this somehow into emacs from what I've said here so far? I'm not an emacs user myself, so I'm not sure. You can probably re-use some of the regexp tricks, and definitely our unit-tests. [1] https://github.com/atom/language-python/issues/109 https://github.com/atom/language-python/issues/109