diff --git a/autoload/neosnippet.vim b/autoload/neosnippet.vim index d3a30c5..b8b4e36 100644 --- a/autoload/neosnippet.vim +++ b/autoload/neosnippet.vim @@ -182,7 +182,7 @@ function! s:set_snippet_dict(snippet_dict, snippets, dup_check, snippets_file)"{ let alias_snippet = copy(snippet) let alias_snippet.word = alias - let a:snippet_dict[alias] = alias_snippet + let a:snippets[alias] = alias_snippet let a:dup_check[alias] = alias_snippet endfor endfunction"}}} diff --git a/doc/neosnippet.txt b/doc/neosnippet.txt index 670beca..363d9bc 100644 --- a/doc/neosnippet.txt +++ b/doc/neosnippet.txt @@ -467,6 +467,7 @@ CHANGELOG *neosnippet-changelog* 2012-10-30 - Implemented commented placeholder. - Improved python snippets. +- Fixed for alias. 2012-10-29 - Improved parse of snippets file.