Skip to content

Commit 2baa8f2

Browse files
committed
references pull requrest #81 adding more information about HTML snippets
1 parent 41abaca commit 2baa8f2

File tree

2 files changed

+17
-17
lines changed

2 files changed

+17
-17
lines changed

README.md

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,17 @@ This repository contains the official snippets for [yasnippet](http://github.com
33

44
# How to install
55

6-
1. install yasnippet
7-
2. clone this repository
8-
3. add to your .emacs the following
6+
There are two options, if you have checked out *yasnippet* already, the only thing you need to do is to run *git submodule update --init*
7+
and it will checkout automatically this repository, at the last version it was synchronized too.
8+
9+
Otherwise if you want the latest and greatest snippets collection proceed as follows:
10+
11+
1. clone this repository
12+
2. add to your .emacs the following
913
- (add-to-list 'yas/root-directory "$DIRECTORY_WHERE_YOU_CLONED")
1014
- (yas/initialize)
1115

12-
4. M-x yas/reload-all to activate them
13-
14-
Alternatively run a *git submodule update* after you check out yasnippet (which however might be a bit behind the version in master).
16+
3. M-x yas/reload-all to activate them
1517

1618
# Contributing
1719

@@ -25,3 +27,12 @@ which will gave a table representation of all the snippets available in the curr
2527
# Guidelines
2628

2729
Snippets need to be generic enough to be useful for everyone, and not contain anything specific to your own system.
30+
31+
# Various notes
32+
33+
## HTML snippets
34+
35+
Until September 1st 2014 there were a lot of HTML snippets in the repository, which were sometimes useful but I came to the conclusion that yasnippet was not the right fool for them, so they were removed in this pull request:
36+
https://github.com/AndreaCrotti/yasnippet-snippets/pull/49
37+
38+
To everyone writing a lot of HTML I suggest using [emmet mode](https://github.com/smihica/emmet-mode) instead, which is a much more powerful mode for writing HTML tags.

html-mode/dov

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)