Show random quotes if g:startify_custom_header isn't set
This commit is contained in:
parent
8434c33f7a
commit
fa733c3e20
3 changed files with 23 additions and 31 deletions
|
@ -27,9 +27,7 @@ syntax match StartifyFile /.*/ contains=
|
|||
execute 'syntax match StartifySlash /\'. s:sep .'/'
|
||||
execute 'syntax match StartifyPath /\%9c.*\'. s:sep .'/ contains=StartifySlash,StartifyVar'
|
||||
|
||||
if exists('g:startify_custom_header')
|
||||
execute 'syntax region StartifyHeader start=/\%1l/ end=/\%'. (len(g:startify_custom_header) + 2) .'l/'
|
||||
endif
|
||||
execute 'syntax region StartifyHeader start=/\%1l/ end=/\%'. (len(g:startify_header) + 2) .'l/'
|
||||
|
||||
if exists('g:startify_custom_footer')
|
||||
execute 'syntax region StartifyFooter start=/\%'. startify#get_lastline() .'l/ end=/*/'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue