Merge pull request #233739 from azuwis/lazy-nvim
vimPlugins.lazy-nvim: Fix lazy.nvim try to write helptags on readonly fs
This commit is contained in:
commit
702a5071e4
|
@ -642,6 +642,10 @@ self: super: {
|
|||
dependencies = with self; [ nvim-lspconfig ];
|
||||
});
|
||||
|
||||
lazy-nvim = super.lazy-nvim.overrideAttrs (old: {
|
||||
patches = [ ./patches/lazy-nvim/no-helptags.patch ];
|
||||
});
|
||||
|
||||
lean-nvim = super.lean-nvim.overrideAttrs (old: {
|
||||
dependencies = with self; [ nvim-lspconfig plenary-nvim ];
|
||||
});
|
||||
|
|
|
@ -0,0 +1,14 @@
|
|||
diff --git a/lua/lazy/help.lua b/lua/lazy/help.lua
|
||||
index 4a289eb..5ddc168 100644
|
||||
--- a/lua/lazy/help.lua
|
||||
+++ b/lua/lazy/help.lua
|
||||
@@ -38,9 +38,6 @@ function M.index(plugin)
|
||||
end
|
||||
|
||||
function M.update()
|
||||
- if Config.plugins["lazy.nvim"] then
|
||||
- vim.cmd.helptags(Config.plugins["lazy.nvim"].dir .. "/doc")
|
||||
- end
|
||||
if Config.options.readme.enabled == false then
|
||||
return
|
||||
end
|
Loading…
Reference in a new issue