We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ee6187 commit 716437dCopy full SHA for 716437d
autoload/rails.vim
@@ -5297,7 +5297,7 @@ function! s:set_path_options() abort
5297
let delegate = ''
5298
if exists(':chistory')
5299
let cfilemap = maparg('<Plug><cfile>', 'c', 0, 1)
5300
- if cfilemap.expr && cfilemap.buffer && cfilemap.rhs !~# 'rails#\|Ruby'
+ if get(cfilemap, 'buffer') && cfilemap.expr && cfilemap.rhs !~# 'rails#\|Ruby'
5301
let delegate = string(maparg('<Plug><cfile>', 'c'))
5302
endif
5303
0 commit comments