cloudhead / neovim-fuzzy

Minimalistic fuzzy file finding for neovim
BSD 3-Clause "New" or "Revised" License
111 stars 17 forks source link

Getting E5060 with neovim0.2 #28

Closed lamarpavel closed 7 years ago

lamarpavel commented 7 years ago

Since the update to neovim v0.2, using ag for file listing in neovim-fuzzy produces a Vim(call):E5060: unknown flag 'w'.

See: https://github.com/neovim/neovim/pull/6427/files#diff-deb695d507653839019814f54242d47bR17430

The culprit lies here: https://github.com/cloudhead/neovim-fuzzy/blob/master/plugin/neovim-fuzzy.vim#L73

Changing this line to call writefile(a:ignorelist, ignorefile, 's') fixes the issue.

cloudhead commented 7 years ago

Fixed in master (5f7afa98b8f109c0c62dcfc824f0debf1e5d7212), please confirm it works.

lamarpavel commented 7 years ago

Just tested with NVIM v0.2.0 and can confirm it works. Thanks.