gioele / vim-autoswap

Please Vim, stop with these swap file messages. Just switch to the correct window!
Creative Commons Zero v1.0 Universal
115 stars 25 forks source link

Add missing argument to substitute() call #14

Closed adriaanzon closed 6 years ago

adriaanzon commented 6 years ago

The substitute() function requires 4 arguments.

After changing this, autoswap works for me again with tmux on macOS (e6c0f07).

gioele commented 6 years ago

Thank you @adriaanzon, good catch! :)

However it did work for me also without the flags parameter. Which version of Vim are you using?

adriaanzon commented 6 years ago

I was able to reproduce the bug on Vim 8.0.0823 and Neovim v0.2.1-540-g84f092a92 (latest HEAD revision)