mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
Make completion_spec.lua more robust
Having a tags file in the calling directory of make test would make this test fail, so disable tag file completion for it. Disable all other options except the current buffer, to, applying the principle of least surprise.
This commit is contained in:
parent
4eb58273cd
commit
e6e843ebc0
@ -172,6 +172,7 @@ describe('completion', function()
|
||||
[4] = {bold = true, foreground = Screen.colors.SeaGreen},
|
||||
})
|
||||
|
||||
execute("set complete=.")
|
||||
feed('ifoobar fooegg<cr>f<c-p>')
|
||||
screen:expect([[
|
||||
foobar fooegg |
|
||||
|
Loading…
Reference in New Issue
Block a user