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)?
235 Views Asked by user3328923 At
2
There are 2 best solutions below
1
Micha Niskin
On
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))
Related Questions in EMACS
- EMACS-Live + Slime error at startup
- Auto complete of braces in emacs
- tmux + emacs : ctrl is not reconized
- yasnippet weird-input when org-mode :tag: on same line
- Error in Dired sorting on Windows (with Cygwin Emacs)
- ESS produces "Variable binding depth exceeds max-specpdl-size"
- How to simplify the mode-line, and enter evil-insert-state depending on buffer name
- MELPA pointing to non-existent version of multi-term?
- Mark-up for bold and italic in emacs org-mode
- How to get C-` key combo recognized in Emacs under Mac?
- how to install Emacs Prelude system-wide on windows/MinGW?
- Emacs on Windows 8: write-error, bad file descriptor
- Emacs and Skim not in Sync fails to open
- Emacs web mode selection word delimiters include _
- Error loading D:\cygdrive\d\path\to\my\file.pdf
Related Questions in CLOJURESCRIPT
- core.logic CLP(FD) with ClojureScript
- How do persistent data structures help make Om faster
- How can I create a global object, and attach a string and a function to that object, in ClojureScript?
- New chestnut project: Editing app-state doesn't refresh browser
- Clojure : event listener on domina library
- How to serve clojurescript over flask
- Clojure: transform list of pairs/n-tuples into n-tuple of lists
- Clojure(Script) webapp on Heroku - deployment options for gzipping static resources?
- Is it possible to call a ClojureScript module from a jQuery or AngularJS normal webapp?
- Om/Clojurescript: Issue rendering a reset application state
- on-click handler for a list item reagent clojurescript
- getElementsByClassName in ClojureScript?
- How can I reduce the size of my ns declaration in Clojurescript?
- Can't update state with transact! in Om
- re-frame: Input :on-change reset! doesn't change input value
Related Questions in HOPLON
- How do I create an ordered list in Hoplon?
- How do I embed HTML entities in text in a Hoplon page?
- Is there an open source project that uses Hoplon and that handles web authentification?
- How to pass an array into Hoplon from a Castra backend
- Boot and Hoplon not loading the CSS file and the images in the 'resources' folder
- When use Pedestal, Hoplon, Bidi and Route-one?
- Unable to get Hoplon to run
- How to Switch Tags in Hoplon
- Passing a Cell to a defelem Hoplon
- Using the Boot-clj REPL to load Clojurescript functions in a Castra/Hoplon project
- boot development in hoplon not working
- Hoplon With Castra Error Loading The Backend
- Translate javascript to Clojurescript
- How to associate .hl files to Clojure syntax highlighting in Light Table?
- How to get Emacs Live to recognize Hoplon (hl)?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
As stated in the comment(s),
Should do the trick.