diff --git a/autoload/startify.vim b/autoload/startify.vim index dfc77ec..4e90a71 100644 --- a/autoload/startify.vim +++ b/autoload/startify.vim @@ -20,9 +20,10 @@ let s:tf = exists('g:startify_transformations') let s:skiplist = get(g:, 'startify_skiplist', [ \ 'COMMIT_EDITMSG', - \ escape(fnamemodify(resolve($VIMRUNTIME), ':p'), '\') .'doc', - \ 'bundle/.*/doc', - \ 'plugged/.*/doc', + \ 'runtime/doc/.*\.txt', + \ 'bundle/.*/doc/.*\.txt', + \ 'plugged/.*/doc/.*\.txt', + \ escape(fnamemodify(resolve($VIMRUNTIME), ':p'), '\') .'doc/.*\.txt', \ ]) let s:padding_left = repeat(' ', get(g:, 'startify_padding_left', 3)) diff --git a/doc/startify.txt b/doc/startify.txt index 5ed075e..34495a4 100644 --- a/doc/startify.txt +++ b/doc/startify.txt @@ -978,11 +978,9 @@ Anyway, this particular issue can be resolved in different ways. See: Startify is cluttered with help files!~ Everytime you use |:h|, you open a file from the Vim runtime directory or of -an installed plugin. By default, Startify hides these by skipping the -directories under `$VIMRUNTIME/doc` and `(bundle|plugged)/.*/doc`. +an installed plugin. By default, Startify detects these files and skips them. -This works for most use cases, but not for all. E.g. GUIs embed Vim and both -processes could have a different |$VIMRUNTIME|. +This works for most use cases, but not for all. If the default fails for you and the Startify buffer is cluttered with help files, add that path to the skiplist yourself: |g:startify_skiplist|.