Skip to content

Commit 6bc0c78

Browse files
committed
Fix catch of JSON parse error
Resolves: tpope#588
1 parent 855ff28 commit 6bc0c78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoload/rails.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4647,7 +4647,7 @@ function! s:app_projections() dict abort
46474647
call self.cache.set('projections', projections)
46484648
break
46494649
endif
4650-
catch /^invalid JSON:/
4650+
catch /^Vim(\a\+):E474:/
46514651
endtry
46524652
endif
46534653
endfor

0 commit comments

Comments
 (0)