mirror of
https://github.com/mattn/emmet-vim.git
synced 2025-12-07 03:04:27 +08:00
Update doc
This commit is contained in:
10
README.mkd
10
README.mkd
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user