Add angle support

This commit is contained in:
Shougo Matsushita
2015-12-26 12:39:45 +09:00
parent 0b3b441bef
commit ae512e4818
2 changed files with 29 additions and 3 deletions

View File

@@ -67,5 +67,10 @@ function! s:suite.get_completed_snippet()
\ 'word' : 'foo{', 'abbr' : 'foo{piyo}',
\ 'menu' : '', 'info' : ''
\ }), '${1:#:piyo}}${2}')
call s:assert.equals(neosnippet#parser#_get_completed_snippet({
\ 'word' : 'Dictionary(', 'abbr' : 'Dictionary<Key, Value>(foo)',
\ 'menu' : '', 'info' : ''
\ }), '<${1:#:Key}, ${2:#:Value}>${3:#:foo})${4}')
endfunction