Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using Vim native plugin manager #141

Open
vidakDK opened this issue May 7, 2021 · 1 comment
Open

Using Vim native plugin manager #141

vidakDK opened this issue May 7, 2021 · 1 comment

Comments

@vidakDK
Copy link

vidakDK commented May 7, 2021

Hello, I'm struggling to install the plugin using the native Vim plugin manager, which seems to expect a structure like:

start
--- config
      --- plugin
            --- xxx.vim

and since in the structure of this project there's no plugin directory the package manager doesn't work.

Does anyone know if I'm doing something wrong, and how to install the package with the Vim native package manager?

EDIT: I was able to enable the plugin by manually injecting a plugin directory, in which I put the python.vim file.

@yongrenjie
Copy link

yongrenjie commented May 19, 2021

@vidakDK Do you have have filetype indent on or filetype plugin indent on in your vimrc? You need that in order for vim to look for filetype.vim files in the indent/ directory (:h 30.3 has more info). You shouldn't manually create a plugin/ directory, because files in that directory are executed on every file (not just when &filetype == python).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants