mirror of
https://github.com/neovim/neovim.git
synced 2026-04-28 10:14:06 +00:00
fix(Man): completion on Mac
Problem: `man -w` does not work on recent versions of MacOs. Solution: Make it so an empty result is interpreted as an error unless silent=true
This commit is contained in:
committed by
Lewis Russell
parent
b5c0290803
commit
47f2769b46
@@ -263,4 +263,14 @@ describe(':Man', function()
|
||||
{ '1', 'other_man' },
|
||||
}, get_search_history('other_man(1)'))
|
||||
end)
|
||||
|
||||
it('can complete', function()
|
||||
t.skip(t.is_os('mac') and t.is_arch('x86_64'), 'not supported on intel mac')
|
||||
eq(
|
||||
true,
|
||||
exec_lua(function()
|
||||
return #require('man').man_complete('f', 'Man g') > 0
|
||||
end)
|
||||
)
|
||||
end)
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user