From 5916ad27fa2cc34bf5ab79175715a42e4c7bb4eb Mon Sep 17 00:00:00 2001 From: mattn Date: Thu, 27 Mar 2014 09:25:00 +0900 Subject: [PATCH] update doc --- doc/emmet.txt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/doc/emmet.txt b/doc/emmet.txt index 8bf9415..8af12c0 100644 --- a/doc/emmet.txt +++ b/doc/emmet.txt @@ -448,6 +448,23 @@ CUSTOMIZE *emmet-customize* let g:user_emmet_mode='inv' "enable all functions, which is equal to let g:user_emmet_mode='a' "enable all function in all mode. +6. Adding custom snippets + +If you have installed the |webapi|(https://github.com/mattn/webapi-vim) for + |emmet| you can also add your own snippets using a custom "snippets.json" file. + +Once you have installed the |webapi| 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. + +See http://docs.emmet.io/customization/snippets/ + +You can find instructions about creating your customized snippets.json file. + ============================================================================== LINKS *emmet-links*