Proper use of User autocmd
This commit is contained in:
parent
5370a743f2
commit
19870ae159
|
@ -143,7 +143,7 @@ function! startify#insane_in_the_membrane() abort
|
|||
|
||||
call cursor((s:show_special ? 2 : 0) + s:headoff + s:secoff, 5)
|
||||
|
||||
silent! doautocmd <nomodeline> startify User
|
||||
silent! doautocmd <nomodeline> startify User Startified
|
||||
endfunction
|
||||
|
||||
" Function: #session_load {{{1
|
||||
|
|
|
@ -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…
Reference in a new issue