Proper use of User autocmd
This commit is contained in:
parent
5370a743f2
commit
19870ae159
2 changed files with 3 additions and 3 deletions
|
@ -26,9 +26,9 @@ if exists('g:startify_custom_header')
|
|||
endif
|
||||
|
||||
if exists('g:startify_custom_footer')
|
||||
autocmd startify User <buffer>
|
||||
autocmd startify User Startified
|
||||
\ execute 'syntax region StartifyFooter start=/\%'. (startify#get_lastline() + 1) .'l/ end=/*/' |
|
||||
\ autocmd! startify User <buffer>
|
||||
\ autocmd! startify User
|
||||
endif
|
||||
|
||||
highlight default link StartifyHeader Normal
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue