Explorar o código

Handle encrypted files

Marco Hinz %!s(int64=12) %!d(string=hai) anos
pai
achega
ca6915e420
Modificáronse 1 ficheiros con 5 adicións e 1 borrados
  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