Light Table 0.7.2: Proper format for adding *.cljs.hl (Hoplon) Syntax Support

68 مرّة مشاهدة
التخطي إلى أول رسالة غير مقروءة

Calvin Mitchell

غير مقروءة،
25‏/03‏/2015، 12:39:02 م25‏/3‏/2015
إلى light-table...@googlegroups.com
After scouring the W3 the youngest data for adding new file extensions is a couple of years old; and since that time it appears that the format for adding new file extensions has changed and the documentation has NOT been updated...

...could someone please point us all in the right direction on adding support for new file extensions (especially Hoplon's *.cljs.hl format) in Light Table?

Thank you!

Magnus Rundberget

غير مقروءة،
25‏/03‏/2015، 1:02:18 م25‏/3‏/2015
إلى light-table...@googlegroups.com
This is how I added support for asciidoc syntax in my AsciiLight plugin (https://github.com/rundis/AsciiLight)


; *.behaviors

[:files :lt.objs.files/file-types [{:exts [:adoc :asciidoc], :mime "text/x-asciidoc", :tags [:editor.asciidoc], :name "asciidoc"}]]

cheers
Magnus

Calvin Mitchell

غير مقروءة،
25‏/03‏/2015، 2:10:14 م25‏/3‏/2015
إلى light-table...@googlegroups.com
Thank you for your timely feedback!

--
You received this message because you are subscribed to a topic in the Google Groups "Light Table Discussion" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/light-table-discussion/bm9jY_3sDpQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to light-table-discu...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

Calvin Mitchell

غير مقروءة،
25‏/03‏/2015، 2:31:43 م25‏/3‏/2015
إلى light-table...@googlegroups.com
This is what worked for me:

[:files :lt.objs.files/file-types [{:exts [:cljs :hl], :mime "text/x-clojurescript", :tags [:editor.clojurescript], :name "clojurescript"}]]

Bon Jour!

Magnus Rundberget

غير مقروءة،
25‏/03‏/2015، 2:59:42 م25‏/3‏/2015
إلى light-table...@googlegroups.com
good stuff !

- bonsoir :)
الرد على الكل
رد على الكاتب
إعادة توجيه
0 رسالة جديدة