Skip to content

Commit 5afd8ca

Browse files
author
Quinn Strahl
committed
Add doautocmd statements for extensibility
- `VdebugPre`: Before Vdebug is initialised - `VdebugPost`: After Vdebug is initialised
1 parent 534d948 commit 5afd8ca

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

plugin/vdebug.vim

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ if !has("python")
2323
finish
2424
endif
2525

26+
silent doautocmd User VdebugPre
27+
2628
" Load start_vdebug.py either from the runtime directory (usually
2729
" /usr/local/share/vim/vim71/plugin/ if you're running Vim 7.1) or from the
2830
" home vim directory (usually ~/.vim/plugin/).
@@ -161,3 +163,5 @@ function vdebug:edit(filename)
161163
execute 'silent edit' fnameescape(a:filename)
162164
endtry
163165
endfunction
166+
167+
silent doautocmd User VdebugPost

0 commit comments

Comments
 (0)