Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Shougo committed Oct 15, 2023
1 parent f0309c9 commit 8e77887
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions autoload/dein/install.vim
Original file line number Diff line number Diff line change
Expand Up @@ -477,16 +477,10 @@ function! s:helptags() abort

let taglines = []
for plugin in plugins
if (plugin.rtp .. '/doc')->isdirectory()
continue
endif

for readme in ['README.md', 'README.mkd']
let path = plugin.rtp .. '/' .. readme
if !(path->filereadable())
continue
endif

\ ->filter({ _, val -> !((val.rtp .. '/doc')->isdirectory()) })
for path in ['README.md', 'README.mkd']
\ ->map({ _, val -> plugin.rtp .. '/' .. val })
\ ->filter({ _, val -> val->filereadable() })
" Add the filename to tags
for tag in s:detect_tags_in_markdown(path)
" If tag name equals to plugin name, use plugin name for tag name
Expand Down

0 comments on commit 8e77887

Please sign in to comment.