4 ms·
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)
by Soapy_Illusions 16y ago
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)
- CWIZO 16y agov1 supports custom syntax highlighting definitions (or you could use TextMate's since it uses the same format). I'm sure v2 has this feature also.
- jskinner 16y agoIt'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.
- drdaeman 16y ago> ~/.Sublime Text 2/ It's a shame they've not heard about $XDG_CONFIG_HOME (http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html http://standards.freedesktop.org/basedir-spec/basedir-spec-l...)
- Soapy_Illusions 16y agoThis one works great: https://github.com/rsms/Go.tmbundle/tree/master/Syntaxes https://github.com/rsms/Go.tmbundle/tree/master/Syntaxes Maybe it should be included by default
- sandGorgon 16y agoNot able to use one for Clojure (the one for Go works fine) - could you please check https://github.com/franks42/clojure.tmbundle/blob/d0b6baa89307d896b53a8f25736891e3cde2c3ab/Syntaxes/Clojure.tmLanguage https://github.com/franks42/clojure.tmbundle/blob/d0b6baa893...