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

dein yaml config. #2

Closed
glepnir opened this issue Jun 29, 2019 · 2 comments
Closed

dein yaml config. #2

glepnir opened this issue Jun 29, 2019 · 2 comments

Comments

@glepnir
Copy link

glepnir commented Jun 29, 2019

i check the https://github.com/rafi/vim-config/blob/master/config/plugins.yaml, he doest use lazy:1, your config use lazy:1 whats different?

@Genki-S
Copy link
Owner

Genki-S commented Jun 29, 2019

I assume you are asking the difference between the following 2:

repo/plugin:
  - lazy: 1
  - on_ft: go
repo/plugin:
  - on_ft: go

I specify lazy: 1 because I did not know setting on_* option automatically marks a plugin lazy (today I learned dein does this here).
It seems lazy: 1 is redundant, and you don't have to specify it if you specify on_* option.

That being said I like explicitness, so I think I'd just keep lazy: 1 for my config. It's just a matter of your preference, I think.

Hope this helps :)

@glepnir
Copy link
Author

glepnir commented Jun 29, 2019

@Genki-S big thanks , i got it!

@glepnir glepnir closed this as completed Jun 29, 2019
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