Kaynağa Gözat

Handle encrypted files

Marco Hinz 12 yıl önce
ebeveyn
işleme
ca6915e420
1 değiştirilmiş dosya ile 5 ekleme ve 1 silme
  1. 5 1
      autoload/startify.vim

+ 5 - 1
autoload/startify.vim

@@ -499,7 +499,11 @@ function! s:open_buffers(cword) abort
     endif
   " no markers found; open a single buffer
   else
-    execute 'normal' a:cword
+    try
+      execute 'normal' a:cword
+    catch /E832/
+      edit
+    endtry
   endif
 endfunction