mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-13 21:13:04 +00:00
Minor doc update and a symbolic link to index.html which I don't know if works
This commit is contained in:
parent
560fd2acf7
commit
15c7703b5b
1
doc/define-snippet.html
Symbolic link
1
doc/define-snippet.html
Symbolic link
@ -0,0 +1 @@
|
||||
doc/index.html
|
@ -3,7 +3,7 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<meta name="generator" content="Docutils 0.6: http://docutils.sourceforge.net/" />
|
||||
<meta name="generator" content="Docutils 0.5: http://docutils.sourceforge.net/" />
|
||||
<title>Yet Another Snippet extension</title>
|
||||
<link rel="stylesheet" href="styles.css" type="text/css" />
|
||||
</head>
|
||||
@ -121,14 +121,14 @@ following in your <tt class="docutils literal"><span class="pre">~/.emacs</span>
|
||||
<h2><a class="toc-backref" href="#id4">Normal Install</a></h2>
|
||||
<p>For full install of the normal archive, just download and unpack the
|
||||
latest <tt class="docutils literal"><span class="pre">yasnippet-x.y.z.tar.bz2</span></tt>. You'll get a directory named
|
||||
<tt class="docutils literal"><span class="pre">yasnippet</span></tt>, put it in your <tt class="docutils literal"><span class="pre">~/.emacs.d/plugins</span></tt> and add the
|
||||
<tt class="docutils literal"><span class="pre">yasnippet-x.y.z</span></tt>, put it in your <tt class="docutils literal"><span class="pre">~/.emacs.d/plugins</span></tt> and add the
|
||||
following in your <tt class="docutils literal"><span class="pre">.emacs</span></tt> file:</p>
|
||||
<blockquote>
|
||||
<div class="highlight"><pre>(<span style="color: #19177C">add-to-list</span> <span style="color: #19177C">'load-path</span>
|
||||
<span style="color: #BA2121">"~/.emacs.d/plugins"</span>)
|
||||
<span style="color: #BA2121">"~/.emacs.d/plugins/yasnippet-x.y.z"</span>)
|
||||
(<span style="color: #008000">require</span> <span style="color: #19177C">'yasnippet</span>) <span style="color: #408080; font-style: italic">;; not yasnippet-bundle</span>
|
||||
(<span style="color: #19177C">yas/initialize</span>)
|
||||
(<span style="color: #19177C">yas/load-directory</span> <span style="color: #BA2121">"~/.emacs.d/plugins/yasnippet/snippets"</span>)
|
||||
(<span style="color: #19177C">yas/load-directory</span> <span style="color: #BA2121">"~/.emacs.d/plugins/yasnippet-x.y.z/snippets"</span>)
|
||||
</pre></div>
|
||||
</blockquote>
|
||||
<p>Please refer to the documentation for full customization, or use the
|
||||
|
@ -70,16 +70,16 @@ Normal Install
|
||||
|
||||
For full install of the normal archive, just download and unpack the
|
||||
latest ``yasnippet-x.y.z.tar.bz2``. You'll get a directory named
|
||||
``yasnippet``, put it in your ``~/.emacs.d/plugins`` and add the
|
||||
``yasnippet-x.y.z``, put it in your ``~/.emacs.d/plugins`` and add the
|
||||
following in your ``.emacs`` file:
|
||||
|
||||
.. sourcecode:: common-lisp
|
||||
|
||||
(add-to-list 'load-path
|
||||
"~/.emacs.d/plugins")
|
||||
"~/.emacs.d/plugins/yasnippet-x.y.z")
|
||||
(require 'yasnippet) ;; not yasnippet-bundle
|
||||
(yas/initialize)
|
||||
(yas/load-directory "~/.emacs.d/plugins/yasnippet/snippets")
|
||||
(yas/load-directory "~/.emacs.d/plugins/yasnippet-x.y.z/snippets")
|
||||
|
||||
Please refer to the documentation for full customization, or use the
|
||||
customization group.
|
||||
|
Loading…
x
Reference in New Issue
Block a user