Add a test case for custom snippet for enable_completed_snippet
This commit is contained in:
parent
6f7f877318
commit
b8f51c09ac
@ -128,5 +128,10 @@ function! s:suite.get_completed_snippet() abort
|
||||
\ 'word' : 'for[', 'abbr' : '',
|
||||
\ 'menu' : '', 'info' : ''
|
||||
\ }, ''), '${1}]${2}')
|
||||
|
||||
call s:assert.equals(neosnippet#parser#_get_completed_snippet({
|
||||
\ 'word' : 'something', 'abbr' : 'something(else)',
|
||||
\ 'menu' : '', 'info' : '', 'snippet' : '(${1:custom})${2}'
|
||||
\ }, ''), '(${1:custom})${2}')
|
||||
endfunction
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user