Rework the default skiplist
This commit is contained in:
parent
b89579e456
commit
c905a0c959
|
@ -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))
|
||||
|
|
|
@ -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|.
|
||||
|
|
Loading…
Reference in a new issue