Skip to content

Commit 7108809

Browse files
authored
fix(plugins): "Vim:E150: Not a directory" on plugin update (#1679)
## Description On plugins update it fails with following error for any plugin. ``` ~/.local/share/nvim/lazy/lazy.nvim/manage/task/plugin.lua:95: Vim:E150: Not a directory: ~/.local/share/nvim/lazy/gitsigns.nvim/doc/ ```
1 parent 4496b4c commit 7108809

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/lazy/manage/task/plugin.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ M.docs = {
9090
return not plugin._.dirty
9191
end,
9292
run = function(self)
93-
local docs = self.plugin.dir .. "/doc/"
93+
local docs = self.plugin.dir .. "/doc"
9494
if Util.file_exists(docs) then
9595
self:log(vim.api.nvim_cmd({ cmd = "helptags", args = { docs } }, { output = true }))
9696
end

0 commit comments

Comments
 (0)