ListUltisnips updated
This commit is contained in:
parent
38df1a05ef
commit
630063fcd6
|
@ -356,9 +356,11 @@ let g:UltiSnipsEditSplit='horizontal'
|
|||
function! ListUltisnips() abort
|
||||
let l:snips = UltiSnips#SnippetsInCurrentScope(1)
|
||||
let l:keylist = sort(keys(l:snips))
|
||||
echo ' --------------------------------------------------'
|
||||
for l:key in l:keylist
|
||||
echo l:key . "\t" . l:snips[l:key]
|
||||
echo printf(" %-10s\t%s", l:key, l:snips[l:key])
|
||||
endfor
|
||||
echo '---------------------------------------------------'
|
||||
" for [l:key, l:info] in items(l:snips)
|
||||
" echo l:key . "\t" . l:info
|
||||
" endfor
|
||||
|
|
Loading…
Reference in New Issue