Update comments to make package pinning clearer

This commit is contained in:
ViViDboarder 2021-12-15 08:43:34 -08:00
parent a105a310a2
commit eca378ce64

View File

@ -17,11 +17,13 @@ local function config_dark_notify()
end end
-- Pin version dependent packages -- 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.6.0') ~= 1 then
if vim.fn.has "nvim-0.5.1" == 1 then if vim.fn.has "nvim-0.5.1" == 1 then
-- Last commit compatible with 0.5.1
pinned_commits["telescope"] = "80cdb00b221f69348afc4fb4b701f51eb8dd3120" pinned_commits["telescope"] = "80cdb00b221f69348afc4fb4b701f51eb8dd3120"
elseif vim.fn.has "nvim-0.5.0" == 1 then elseif vim.fn.has "nvim-0.5.0" == 1 then
-- Last commit compatible with 0.5.1
pinned_commits["telescope"] = "587a10d1494d8ffa1229246228f0655db2f0a48a" pinned_commits["telescope"] = "587a10d1494d8ffa1229246228f0655db2f0a48a"
end end
end end