My favorites | Sign in
Project Home Issues Source
Repository:
Checkout   Browse   Changes   Clones    
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
== Prerequisites ==

Before proceeding, make sure you have the latest versions of
yasnippet[1] and js2-mode[2] installed and configured.

1. http://code.google.com/p/yasnippet/
2. http://code.google.com/p/js2-mode/

== Configuration ==

Clone the snippets repository, and add the following to ~/.emacs,
adjusting the path as necessary:

(let ((closure-snippets "~/dev/closure-snippets/emacs"))
(add-to-list 'load-path closure-snippets)
(require 'closure-snippets-support)
(yas/load-directory closure-snippets))

Closure Snippets uses prompt functions, which you will probably want
to configure if you haven't already, as the default (yas/x-prompt) is
not very usable. I suggest the following configuration:

(setq yas/prompt-functions '(yas/ido-prompt yas/dropdown-prompt yas/completing-prompt yas/x-prompt yas/no-prompt))

Change log

99e8d4873a05 by Derek Slager <de...@appaturetech.com> on Jun 30, 2010   Diff
Minor README update.
Go to: 
Project members, sign in to write a code review

Older revisions

9338a14e6f41 by Derek Slager <de...@appaturetech.com> on Jun 30, 2010   Diff
Initial commit.
All revisions of this file

File info

Size: 829 bytes, 23 lines
Powered by Google Project Hosting