Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Intro

Test loading order for Vim plugins

Vim scripts loading order

When Vim started

  1. .vimrc
  2. ftdetect/*.vim
  3. after/ftdetect/*.vim
  4. plugin/*.vim
  5. after/plugin/*.vim

When set filetype=foobar

  1. ftplugin/foobar.vim
  2. after/ftplugin/foobar.vim
  3. indent/foobar.vim
  4. after/indent/foobar.vim
  5. syntax/foobar.vim
  6. after/syntax/foobar.vim

When call foo#bar#hello_world()

  1. autoload/foo/bar.vim

NOTE: autoload never check after/ folders

When :compiler foobar

  1. compiler/foobar.vim
  2. after/compiler/foobar.vim

When :colorscheme foobar

  1. colors/foobar.vim

When :colorscheme foobar with exvim/ex_aftercolors installed

  1. colors/foobar.vim
  2. after/colors/foobar.vim

About

Test loading order for Vim plugins

Resources

Stars

15 stars

Watchers

4 watching

Forks

Releases

Packages

Contributors

Languages