From eca378ce64fdc8d275c4c653c42a76514790e663 Mon Sep 17 00:00:00 2001 From: ViViDboarder Date: Wed, 15 Dec 2021 08:43:34 -0800 Subject: [PATCH] Update comments to make package pinning clearer --- neovim/lua/plugins.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/neovim/lua/plugins.lua b/neovim/lua/plugins.lua index 9046b3a..f166e0c 100644 --- a/neovim/lua/plugins.lua +++ b/neovim/lua/plugins.lua @@ -17,11 +17,13 @@ local function config_dark_notify() end -- Pin version dependent packages -pinned_commits = {} +local pinned_commits = {} if vim.fn.has('nvim-0.6.0') ~= 1 then if vim.fn.has "nvim-0.5.1" == 1 then + -- Last commit compatible with 0.5.1 pinned_commits["telescope"] = "80cdb00b221f69348afc4fb4b701f51eb8dd3120" elseif vim.fn.has "nvim-0.5.0" == 1 then + -- Last commit compatible with 0.5.1 pinned_commits["telescope"] = "587a10d1494d8ffa1229246228f0655db2f0a48a" end end