-1

I often see Vim plugin have own "ftplugin" directory.
(for example: https://github.com/rust-lang/rust.vim)

How to load these ?

musou1500
  • 51
  • 9
  • 2
    What do you mean exactly? Those files are automatically loaded by Vim when needed (file type used). It is part of the program logic. – sidyll Dec 07 '15 at 15:15

1 Answers1

1

You need to set runtimepath to folder that contain rust.vim.

You can set it manually (:set rtp+=path/to/folder)or user plugin manager like: Vim-plug,Vundle.....

:help runtimepath or :h rtp - for detailed help

:set rtp? - to see all runtimepaths

Sim
  • 375
  • 2
  • 12