Commits

Takeshi NISHIDA committed 8d91742 Merge

Automated merge with file:///mnt/j/0/vim-autocomplpop

Comments (0)

Files changed (2)

     let lenTrigger = len(trigger)
     if lenText >= lenTrigger && strridx(text, trigger) + lenTrigger == lenText
       let g:i = text . '|' . trigger
-      call feedkeys("\<C-l>", "m")
+      call feedkeys("\<C-r>=TriggerSnippet()\<CR>", "n")
       return 0
     endif
   endfor
   if type(a:snip) == type([])
     let snipFormatted = '[multi snip]'
   else
-    let snipFormatted = strpart(substitute(a:snip, "\n", '    ', 'g'), 0, 80)
+    let snipFormatted = strpart(substitute(a:snip, '\(\n\|\s\)\+', ' ', 'g'), 0, 80)
   endif
   return  {
         \   'word': a:key,
 ==============================================================================
 CHANGELOG                                                      *acp-changelog*
 
+2.11.1
+  - Fixed a bug that a snipMate's trigger could not be expanded when it was
+    completed.
+
 2.11
   - Implemented experimental feature which is snipMate's trigger completion.