Friday, 19 October 2012

YaSnippets, JavaScript and Emacs 24



If you are trying to get yasnippets and JavaScript working together in Emacs 24 you might like to know that the JavaScript mode is called js-mode. This means when you download the JavaScript snippets the directory that contains them needs to be called js-mode rather than javascript-mode.

Yes this caught me out for a while :)

No comments:

Post a Comment