Expand '~' in the skiplist
The skiplist gets checked against normal Vim regular expressions. That also means that you can't just use '~'; see ":h /\~". That especially sneaky if you use variables that refer to directories within your home directory. Solution: expand them via fnamemodify(). References #154.
This commit is contained in:
parent
96ccdf7f15
commit
3e143739d7
2 changed files with 4 additions and 4 deletions
|
@ -20,7 +20,7 @@ let s:session_dir = resolve(expand(get(g:, 'startify_session_dir',
|
|||
|
||||
let s:skiplist = get(g:, 'startify_skiplist', [
|
||||
\ 'COMMIT_EDITMSG',
|
||||
\ $VIMRUNTIME .'/doc',
|
||||
\ fnamemodify($VIMRUNTIME, ':p') .'/doc',
|
||||
\ 'bundle/.*/doc',
|
||||
\ ])
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue