Skip to content

Commit 9477724

Browse files
committed
Fix error when config/projections.json is absent
Closes tpope#239.
1 parent ee8458f commit 9477724

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
@@ -4317,7 +4317,7 @@ function! s:app_projections() dict abort
43174317
call s:combine_projections(dict, s:projections_for_gems[gem_path])
43184318
endif
43194319
if self.cache.needs('projections')
4320-
call self.cache.set('config', {})
4320+
call self.cache.set('projections', {})
43214321

43224322
let projections = {}
43234323
if self.has_path('config/projections.json')

0 commit comments

Comments
 (0)