feat: version check

This commit is contained in:
TJ DeVries
2020-09-05 15:15:15 -04:00
parent a0318bfc2a
commit 639497ae6d

View File

@@ -11,6 +11,13 @@ This will use the default configuration options.
Other configuration options still in flux at the moment
--]]
if 1 ~= vim.fn.has('nvim-0.5') then
vim.api.nvim_err_writeln("This plugins requires neovim 0.5")
vim.api.nvim_err_writeln("Please update your neovim.")
return
end
-- TODO: Give some bonus weight to files we've picked before
-- TODO: Give some bonus weight to oldfiles