Update doc

This commit is contained in:
mattn
2014-03-27 09:06:15 +09:00
parent 0511be8ac5
commit b00cf4d33f

View File

@@ -88,6 +88,16 @@ autocmd FileType html,css EmmetInstall
```vim ```vim
let g:user_emmet_leader_key='<C-Z>' let g:user_emmet_leader_key='<C-Z>'
``` ```
## Adding custom snippets
If you have installed the [web-api](https://github.com/mattn/webapi-vim) for **emmet-vim** you can also add your own snippets using a custom **snippets.json** file.
Once you have installed the [web-api](https://github.com/mattn/webapi-vim) add this line to your **.vimrc**:
```
let g:user_emmet_settings = webapi#json#decode(join(readfile(expand('~/.snippets_custom.json')), "\n"))
```
You can change the **path** to your **snippets_custom.json** according to your preferences.
[Here](http://docs.emmet.io/customization/snippets/) you can find instructions about creating your customized **snippets.json** file.
## Project Authors ## Project Authors