Comment 7 for bug 1256451

Revision history for this message
Andrei (khan-msu) wrote :

https://github.com/SirVer/ultisnips

I've tried to minimize the number of plugins and reduced my .vimrc to the following (see below), but the problem still persists. The exact look of the snippet is the following:

------------------- SNIP -------------------
snippet sse "" b
,{
  'AUTHOR': '${1:Williams}',
  'TEXT': '${VISUAL}$2',
}
endsnippet
------------------- SNAP -------------------

I select a sentence with ``<vis>``, than ``<tab>sse<tab><c-j>hello world<c-j>``
and the 3rd line of my snippet looks like that:

  'TEXT': '<selected sentence>'hello world,

My reduced .vimrc:
------------------- SNIP -------------------
set nocompatible
set encoding=UTF-8

" VUNDLE
filetype off
set rtp+=~/.vim/bundle/vundle/
call vundle#rc()

Bundle 'gmarik/vundle'
Bundle 'SirVer/ultisnips'

filetype plugin indent on
" VUNDLE END
------------------- SNAP -------------------