3 ms·
I've always been excited by the idea of literate programming, and after having flirted with most of the other Javascript meta-languages, now use Coffeescript as
by weareconvo 14y ago
I've always been excited by the idea of literate programming, and after having flirted with most of the other Javascript meta-languages, now use Coffeescript as my main language for both server-side (node.js) and client-side code. Is there currently a good syntax highlighting mode that properly displays .litcoffee files? I currently use Emacs with the coffee-mode major mode, but I don't think it's been updated yet.
- jashkenas 14y agoI'm not aware of an Emacs one being updated yet, although I think that someone's finished it for Vim. If you want to be an open-source hero -- go ahead and do it yourself ;) It's mainly a matter of taking the Markdown package, and the CoffeeScript package, and pasting the latter into the former, right where the syntax rule for "code block" goes.
- weareconvo 14y agoBut that sounds haaaaaaard.
- smoyer 14y agoDo you have a link to the vim plugin you referenced?
- joyrex 14y agohttps://github.com/mintplant/vim-literate-coffeescript https://github.com/mintplant/vim-literate-coffeescript