mirror of
https://github.com/neovim/neovim.git
synced 2024-12-23 20:55:18 -07:00
vim-patch:282a94be990f
runtime: Fix problem of checking wrong cwd for ruby ftplugin (vim/vim#13026)
282a94be99
Co-authored-by: Anton Sharonov (ant0sha) <109120102+ant0sha@users.noreply.github.com>
Co-authored-by: Anton Sharonov <anton.sharonov@gmail.com>
This commit is contained in:
parent
109ff0a73f
commit
6abc608445
@ -77,7 +77,7 @@ function! s:query_path(root) abort
|
||||
let cwd = fnameescape(getcwd())
|
||||
try
|
||||
exe cd fnameescape(a:root)
|
||||
if fnamemodify(exepath('ruby'), ':p:h') ==# getcwd()
|
||||
if fnamemodify(exepath('ruby'), ':p:h') ==# cwd
|
||||
let path = []
|
||||
else
|
||||
let path = split(system(path_check),',')
|
||||
|
Loading…
Reference in New Issue
Block a user