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/
```
This commit is contained in:
Alexander Grebennik 2024-07-25 12:53:01 +02:00 committed by GitHub
parent 4496b4cad6
commit 7108809ab1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ M.docs = {
return not plugin._.dirty
end,
run = function(self)
local docs = self.plugin.dir .. "/doc/"
local docs = self.plugin.dir .. "/doc"
if Util.file_exists(docs) then
self:log(vim.api.nvim_cmd({ cmd = "helptags", args = { docs } }, { output = true }))
end