Skip to content

exvim/test-loading

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published