7

Im currently running:

✗ nvim -v
NVIM v0.3.0

I use plug.vim to load plugins, and I like to keep plugin configs in separate files instead of having everything in init.vim:

✗ pwd
/Users/mwaldner/.vim/plugin

✗ ls
ale.vim               fzf_config.vim        strip_whitespace.vim
commentary_config.vim reload_files.vim      vim-go.vim

I've moved to a new laptop, and installed the latest version of neovim. It seems like the plugins folder is no longer autoloaded like they are in regular vim. I've had to manually source all my configs file which isn't a big deal, but just curious why that changed.

What folders get autoloaded in neovim?

Thanks!

mawaldne
  • 3,919
  • 6
  • 31
  • 37

1 Answers1

4

See this related thread, most importantly :help runtimepath.

Summary: Vim provides a transparent directory schema that is defined by when you want things to load. For example, autoload/ contains scripts you source before anything else and whose functions you can use in your .vimrc, and ftplugin/ is dedicated for filetype-specific configurations.

Hari Amoor
  • 442
  • 2
  • 7