Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. CODo explain. Files in autoload/ are loaded automatically in exactly one case: when somebody tries to use undefined function or variable. When we force loading the functions and variables that may have triggered automatic loading become defined effectively purging out reasons for loading files automatically for the second time. It is not plugin directory which is going to get sourced after vimrc no matter whether file in it was or was not sourced already or other directory like this.
      singulars
    2. COF*cking fugitive plugin defined this function in `plugin/fugitive.vim` and not in `autoload/fugitive.vim` where it is supposed to be located (based on the function name) which means that my solution does not *work* (it still does not trigger out-of-order run: it is not triggering any run at all) and neither does Peter Rincker’s one. If function was defined in `autoload/` then previous comment applies and @Peter Rincker answer turns to be good. There is still no way loading `autoload/fugitive.vim` should cause any trouble, but it simply does not exist.
      singulars
    3. CO^^^ Duplicating my two comments to my answer (it was deleted) as I am not sure whether you can see comments to deleted answer. To follow conversation: “Should we really be subverting the order of processing, but running autoload/fugitive.vim out of order. This could have unintended consequences. – Christopher” is the comment the first my comment is replying to. My answer was to load `autoload/fugitive.vim` with `:runtime` and then check for function existence.
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload