Skip to content

Commit 0f94baa

Browse files
author
skywind3000
committed
update cpatch.vim
1 parent c098bda commit 0f94baa

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

plugin/cpatch.vim

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
" cpatch.vim - load colorscheme patch automatically
55
"
66
" Created by skywind on 2024/01/05
7-
" Last Modified: 2024/01/08 14:47
7+
" Last Modified: 2024/01/13 00:20
88
"
99
" Homepage: https://github.com/skywind3000/vim-color-patch
1010
"
@@ -127,6 +127,11 @@ function! s:load_patch(name, force)
127127
endif
128128
endfor
129129
endfor
130+
if has('autocmd')
131+
if exists('#User#CPatchPost')
132+
exec 'doautocmd User CPatchPost'
133+
endif
134+
endif
130135
return 0
131136
endfunc
132137

0 commit comments

Comments
 (0)