Re:Sublime Text 2: Public Alpha Released
by Soapy_Illusions on Friday January 28, 2011 @09:20AM
(#2151846)
I am using it on Ubuntu 10.10, looks amazing, is there any way to add syntax highlighting for other languages (Go in my case)
[ Parent
| on HN ]
It's generally just a matter of getting your hands on a .tmLanguage file (the same format as TextMate), and putting it somewhere in your packages directory (~/.Sublime Text 2/Packages/ on Linux).
The top Go.tmLanguage reported by Google appears to be a work in progress though, I'll see if I can get something sorted for the next version - I'd like to have Go support out of the box.
Re:Sublime Text 2: Public Alpha Released
by sandGorgon on Friday January 28, 2011 @12:11PM
(#2152592)
Not able to use one for Clojure (the one for Go works fine) - could you please check https://github.com/franks42/clojure.tmbundle/blob/d0b6baa893...
Re:Sublime Text 2: Public Alpha Released
by drdaeman on Saturday January 29, 2011 @12:20PM
(#2155788)
> ~/.Sublime Text 2/
It's a shame they've not heard about $XDG_CONFIG_HOME (http://standards.freedesktop.org/basedir-spec/basedir-spec-l...)
Re:Sublime Text 2: Public Alpha Released
by Soapy_Illusions on Friday January 28, 2011 @11:27AM
(#2152394)
This one works great:
https://github.com/rsms/Go.tmbundle/tree/master/Syntaxes
Maybe it should be included by default