Update example

This commit is contained in:
Shougo Matsushita 2015-09-01 05:03:27 +09:00
parent 32e2cf9f70
commit d4a154ff6d
2 changed files with 10 additions and 10 deletions

View File

@ -107,12 +107,12 @@ smap <C-k> <Plug>(neosnippet_expand_or_jump)
xmap <C-k> <Plug>(neosnippet_expand_target) xmap <C-k> <Plug>(neosnippet_expand_target)
" SuperTab like snippets behavior. " SuperTab like snippets behavior.
imap <expr><TAB> neosnippet#expandable_or_jumpable() ? "imap <expr><TAB>
\ "\<Plug>(neosnippet_expand_or_jump)" " \ pumvisible() ? "\<C-n>" :
\: pumvisible() ? "\<C-n>" : "\<TAB>" " \ neosnippet#expandable_or_jumpable() ?
" \ "\<TAB>" : "\<Plug>(neosnippet_expand_or_jump)"
smap <expr><TAB> neosnippet#expandable_or_jumpable() ? smap <expr><TAB> neosnippet#expandable_or_jumpable() ?
\ "\<Plug>(neosnippet_expand_or_jump)" \ "\<Plug>(neosnippet_expand_or_jump)" : "\<TAB>"
\: "\<TAB>"
" For conceal markers. " For conceal markers.
if has('conceal') if has('conceal')

View File

@ -330,12 +330,12 @@ EXAMPLES *neosnippet-examples*
xmap <C-k> <Plug>(neosnippet_expand_target) xmap <C-k> <Plug>(neosnippet_expand_target)
" SuperTab like snippets' behavior. " SuperTab like snippets' behavior.
"imap <expr><TAB> neosnippet#expandable_or_jumpable() ? "imap <expr><TAB>
" \ "\<Plug>(neosnippet_expand_or_jump)" " \ pumvisible() ? "\<C-n>" :
" \: pumvisible() ? "\<C-n>" : "\<TAB>" " \ neosnippet#expandable_or_jumpable() ?
" \ "\<TAB>" : "\<Plug>(neosnippet_expand_or_jump)"
"smap <expr><TAB> neosnippet#expandable_or_jumpable() ? "smap <expr><TAB> neosnippet#expandable_or_jumpable() ?
" \ "\<Plug>(neosnippet_expand_or_jump)" " \ "\<Plug>(neosnippet_expand_or_jump)" : "\<TAB>"
" \: "\<TAB>"
" For conceal markers. " For conceal markers.
if has('conceal') if has('conceal')