문제

I'd like to get Hoplon (http://hoplon.io/) code highlighted using Light Table.

도움이 되었습니까?

해결책

All you should need to do is this:

 :files [(:lt.objs.files/file-types [{:exts [:hl],
                                      :mime "text/x-clojure",
                                      :name "hl",
                                      :tags [:editor.clj :editor.clojure]}])]

in your user.behavior file.

Source:

https://groups.google.com/forum/#!topic/light-table-discussion/LjlYu6K1sWk

EDIT 5/1/15: The format of Light Table behavior files changed at some point. The following variation on the above worked for me:

 [:files :lt.objs.files/file-types [{:exts [:hl],
                                      :mime "text/x-clojure"
                                      :name "hl"
                                      :tags [:editor.clj :editor.clojure]}]]
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top