https://github.com/folke/lazy.nvim/pull/1157 makes dev.extra_paths unnecessary and allows for more options. Thus, this is an alternative pr to https://github.com/folke/lazy.nvim/pull/1259 that would be sufficient in conjunction with pull/1157

This commit is contained in:
BirdeeHub 2024-01-16 00:53:13 -08:00
commit 2c9473ada5
2 changed files with 28 additions and 2 deletions

View file

@ -436,6 +436,18 @@ return {
-- "tutor",
-- "zipPlugin",
},
-- for niche situations where you need to inject earlier in the load cycle
-- such as adding things that must be sourced before VIMRUNTIME
---@type fun(DEFAULT: string[], ME: string, VIMRUNTIME: string, NVIM_LIB: string): string[]
override_base_rtp = function(DEFAULT, ME, VIMRUNTIME, NVIM_LIB) return DEFAULT end
-- DEFAULT = {
-- vim.fn.stdpath("config"),
-- vim.fn.stdpath("data") .. "/site",
-- ME,
-- VIMRUNTIME,
-- NVIM_LIB,
-- vim.fn.stdpath("config") .. "/after",
-- }
},
},
-- lazy can generate helptags from the headings in markdown readme files,