Skip to content

Commit 2d37840

Browse files
committed
Move s:warn down with deprecations
1 parent 60c6fd2 commit 2d37840

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

autoload/pathogen.vim

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,6 @@ if exists("g:loaded_pathogen") || &cp
1616
endif
1717
let g:loaded_pathogen = 1
1818

19-
function! s:warn(msg)
20-
echohl WarningMsg
21-
echomsg a:msg
22-
echohl NONE
23-
endfunction
24-
2519
" Point of entry for basic default usage. Give a relative path to invoke
2620
" pathogen#interpose() (defaults to "bundle/{}"), or an absolute path to invoke
2721
" pathogen#surround(). For backwards compatibility purposes, a full path that
@@ -242,6 +236,12 @@ endfunction " }}}1
242236

243237
" Section: Deprecated
244238

239+
function! s:warn(msg)
240+
echohl WarningMsg
241+
echomsg a:msg
242+
echohl NONE
243+
endfunction
244+
245245
" Prepend all subdirectories of path to the rtp, and append all 'after'
246246
" directories in those subdirectories. Deprecated.
247247
function! pathogen#runtime_prepend_subdirectories(path) " {{{1

0 commit comments

Comments
 (0)