Closed caitlingao closed 6 years ago
vim version VIM - Vi IMproved 8.1 (2018 May 18, compiled Aug 7 2018 21:58:18) macOS High Sierra
VIM - Vi IMproved 8.1 (2018 May 18, compiled Aug 7 2018 21:58:18)
controller file
module Api::V1 class BookingsController < BaseController def index @bookings = Booking.all end end end
Cursor before def, use command gf jump to index view gives this error
def
gf
:find Error detected while processing function rails#ruby_cfile[1]..<SNR>88_find[2]..<SNR>88_sub: line 1: E730: defng List as a String :find def
But the controller file
class BookingsController < BaseController def index @bookings = Booking.all end end
gf command jump to index view do well.
vim version
VIM - Vi IMproved 8.1 (2018 May 18, compiled Aug 7 2018 21:58:18)
macOS High Sierracontroller file
Cursor before
def
, use commandgf
jump to index view gives this errorBut the controller file
gf
command jump to index view do well.