829 " SrcExpl_AdaptPlugins() {{{
830
831 " The Source Explorer window will not work when the cursor on the
832
833 " window of other plugins, such as 'Taglist', 'NERD tree' etc.
834
835 function! SrcExpl_AdaptPlugins()
836
837 " Traversal the list of other plugins
838 for item in g:SrcExpl_pluginList
839 " If they acted as a split window
840 if bufname("%") ==# item
841 " Just avoid this operation
842 return -1
843 endif
844 endfor
845
846 " Aslo filter the Quickfix window
847 if &buftype ==# "quickfix"
848 return 0
849 endif
850
851 " Safe
852 return 0
853
854 endfunction " }}}