Bläddra i källkod

Load the MRU list from the file before invoking fzf

Yegappan Lakshmanan 3 år sedan
förälder
incheckning
148f71bd47
1 ändrade filer med 4 tillägg och 0 borttagningar
  1. 4 0
      plugin/mru.vim

+ 4 - 0
plugin/mru.vim

@@ -1068,6 +1068,10 @@ func s:MRU_FZF_Run() abort
     call s:MRU_Warn_Msg('FZF plugin is not present')
     return
   endif
+
+  " Load the latest MRU list
+  call s:MRU_LoadList()
+
   call fzf#run(fzf#wrap({'source' : s:MRU_files,
     \ 'options' : '--no-sort',
     \ 'sink' : function('s:MRU_FZF_EditFile'),