5

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

gunr2171
  • 16,104
  • 25
  • 61
  • 88
leontalbot
  • 2,513
  • 1
  • 23
  • 32

1 Answers1

10

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]}]]
Dave Yarwood
  • 2,866
  • 1
  • 17
  • 29
ClojureMostly
  • 4,652
  • 2
  • 22
  • 24