mirror of
https://github.com/neovim/neovim.git
synced 2025-12-16 03:15:39 +00:00
vim-patch:7.4.672
Problem: When completing a shell command, directories in the current
directory are not listed.
Solution: When "." is not in $PATH also look in the current directory for
directories.
b5971141df
Most of it applied manually.
This commit is contained in:
@@ -148,7 +148,7 @@ describe('fs function', function()
|
||||
local function os_can_exe(name)
|
||||
local buf = ffi.new('char *[1]')
|
||||
buf[0] = NULL
|
||||
local ok = fs.os_can_exe(to_cstr(name), buf)
|
||||
local ok = fs.os_can_exe(to_cstr(name), buf, true)
|
||||
|
||||
-- When os_can_exe returns true, it must set the path.
|
||||
-- When it returns false, the path must be NULL.
|
||||
|
||||
Reference in New Issue
Block a user