Home Download Buy Blog Forum Support

Syntax highlighting with Pygments

Syntax highlighting with Pygments

Postby Enz0 on Wed Jan 23, 2013 2:35 pm

Recently, I was writing man page with groff format, and noticed that Sublime Text 2 does not support the syntax highlight for it.
There are some languages which lacks the syntax highlight.

Pygments supports so many languages, and is written in Python.
Because the plugins are also written in Python, I thought that it would be easy to make a plugin which supports the syntax highlight for multiple languages using Pygments.

I want to make it, when I can take enough time.
But I don't know If I can.
If someone can make it, please make it.

Are there any thoughts about it?
Enz0
 
Posts: 5
Joined: Tue Dec 18, 2012 2:43 pm

Re: Syntax highlighting with Pygments

Postby FichteFoll on Thu Jan 24, 2013 10:09 pm

You can't because of this and thus the lack of an API to color the foreground text.
FichteFoll
 
Posts: 386
Joined: Fri Mar 16, 2012 11:49 pm
Location: Germany

Re: Syntax highlighting with Pygments

Postby Enz0 on Fri Jan 25, 2013 11:39 pm

FichteFoll wrote:You can't because of this and thus the lack of an API to color the foreground text.

Thank you for your information.
Then, I should write a program for automatically making .tmLanguage files from the source of Pygments.
After that, I will make the .tmLanguage files into a package.
Enz0
 
Posts: 5
Joined: Tue Dec 18, 2012 2:43 pm


Return to Plugin Development

Who is online

Users browsing this forum: No registered users and 3 guests