- Improved cursor position.
This commit is contained in:
parent
20eedd2741
commit
d321e4f1c9
@ -459,6 +459,11 @@ function! s:load_snippets(snippet, snippets_file)"{{{
|
|||||||
let linenr += 1
|
let linenr += 1
|
||||||
endfor
|
endfor
|
||||||
|
|
||||||
|
if snippet_pattern.word !~ '\\\@<!${0}'
|
||||||
|
" Add placeholder.
|
||||||
|
let snippet_pattern.word .= '${0}'
|
||||||
|
endif
|
||||||
|
|
||||||
" Set previous snippet.
|
" Set previous snippet.
|
||||||
call s:set_snippet_dict(snippet_pattern,
|
call s:set_snippet_dict(snippet_pattern,
|
||||||
\ a:snippet, dup_check, a:snippets_file)
|
\ a:snippet, dup_check, a:snippets_file)
|
||||||
|
@ -309,6 +309,7 @@ CHANGELOG *neocomplcache-snippets-complete-changelog*
|
|||||||
|
|
||||||
2012-09-23
|
2012-09-23
|
||||||
- Fixed substitute tab character.
|
- Fixed substitute tab character.
|
||||||
|
- Improved cursor position.
|
||||||
|
|
||||||
2012-09-06
|
2012-09-06
|
||||||
- Added neocomplcache__convertable attribute.
|
- Added neocomplcache__convertable attribute.
|
||||||
|
Loading…
Reference in New Issue
Block a user