Commits

Takeshi NISHIDA committed 7a9d163

minor fix for Coverage-File mode

  • Participants
  • Parent commits 9eb113e

Comments (0)

Files changed (2)

File autoload/fuf.vim

   let s:runningHandler.lastCol = -1
   let s:runningHandler.windowRestoringCommand = winrestcmd()
   call s:runningHandler.onModeEnterPre()
+  " NOTE: updatetime is set, because in Buffer-Tag mode on Vim 7.3 on Windows,
+  " Vim keeps from triggering CursorMovedI for updatetime after system() is
+  " called. I don't know why.
   call fuf#setOneTimeVariables(
-        \ ['&completeopt', 'menuone'],
-        \ ['&ignorecase', 0],)
+        \  ['&completeopt', 'menuone'],
+        \  ['&ignorecase', 0],
+        \  ['&updatetime', 10],
+        \ )
   if s:runningHandler.getPreviewHeight() > 0
     call fuf#setOneTimeVariables(
           \ ['&cmdheight', s:runningHandler.getPreviewHeight() + 1])

File autoload/fuf/buffertag.vim

 "
 function s:handler.onOpen(word, mode)
   if !exists('self.itemMap[a:word][0]')
-    throw "buffertag"
+    call fuf#echoError('Definition not found:' . a:word)
+    return
   elseif len(self.itemMap[a:word]) == 1
     let i = 0
   else