summaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua')
-rw-r--r--lua/telescope/builtin.lua7
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