Skip to content
Snippets Groups Projects
Commit bcaaa6f6 authored by Jerome Reybert's avatar Jerome Reybert
Browse files

plugin/magit.vim: close_magit() catch missing exception for lonely buffer (fix #41)

parent c6a2044a
No related branches found
No related tags found
No related merge requests found
...@@ -658,7 +658,7 @@ function! magit#close_magit() ...@@ -658,7 +658,7 @@ function! magit#close_magit()
catch /^Vim\%((\a\+)\)\=:E444/ catch /^Vim\%((\a\+)\)\=:E444/
try try
edit # edit #
catch /^Vim\%((\a\+)\)\=:E194/ catch /^Vim\%((\a\+)\)\=:E\%(194\|499\)/
quit quit
endtry endtry
endtry endtry
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment