diff options
| author | TJ DeVries <devries.timothyj@gmail.com> | 2020-09-05 15:15:15 -0400 |
|---|---|---|
| committer | TJ DeVries <devries.timothyj@gmail.com> | 2020-09-05 15:15:15 -0400 |
| commit | 639497ae6dc720859e90fd6e5df0ac25da145528 (patch) | |
| tree | 210226168475d44b740d575464a328dde66d6a91 /lua | |
| parent | a0318bfc2a54ade2f2b33f4be5e2cf8482309caa (diff) | |
feat: version check
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/telescope/builtin.lua | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lua/telescope/builtin.lua b/lua/telescope/builtin.lua index 112054d..11f0b49 100644 --- a/lua/telescope/builtin.lua +++ b/lua/telescope/builtin.lua @@ -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 |
