Recent Vim versions mark 'v:completed_item' as read-only, hence it's
impossible to update this variable within a vimscript. Fortunately, an
alternative solution has been introduced - from now on
'v:completed_item' contains 'user_data' key that may contain various
user defined payload.
This patch get rids of some hacks, and make this plugin compatible with
recent versions of Vim, NeoVim and neosnippet.
Recent Vim versions mark 'v:completed_item' as read-only, hence it's impossible to update this variable within a vimscript. Fortunately, an alternative solution has been introduced - from now on 'v:completed_item' contains 'user_data' key that may contain various user defined payload.
This patch get rids of some hacks, and make this plugin compatible with recent versions of Vim, NeoVim and neosnippet.
Fixes #196 Fixes #199