Does anyone know how I can get Emacs Live to recognize Hoplon (hl)? These hl files should be treated as a clojurescript file.
How to get Emacs Live to recognize Hoplon (hl)?
207 Views Asked by user3328923 At
2
There are 2 best solutions below
1

If you use both HTML and s-expression syntax you may want to use the .cljs.hl
and .html.hl
extensions to help emacs differentiate between them. So you may want something like:
(add-to-list 'auto-mode-alist '("\\.html\\.hl\\'" . html-mode))
(add-to-list 'auto-mode-alist '("\\.cljs\\.hl\\'" . clojure-mode))
As stated in the comment(s),
Should do the trick.