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

Feature request: Add a way to specify options to each policy #147

Open
lambdalisue opened this issue Dec 17, 2015 · 0 comments
Open

Feature request: Add a way to specify options to each policy #147

lambdalisue opened this issue Dec 17, 2015 · 0 comments

Comments

@lambdalisue
Copy link
Contributor

This feature request is mainly for ProhibitAbbreviationOption.

For example, I would like to use ProhibitAbbreviationOption but for cpoption.
In README, I found

" vint: -ProhibitAbbreviationOption

let s:save_cpo = &cpo
set cpo&vim

" vint: +ProhibitAbbreviationOption

" do something...

" vint: -ProhibitAbbreviationOption

let &cpo = s:save_cpo
unlet s:save_cpo

But I cannot be bothered to write these comment on every Vimscript files.
It would be really nice if I could specify option in ~/.vintrc.yaml like:

policies:
  ProhibitAbberviationOption
    exclude:
      - cpoption

So I would like to have (at least) a way to specify options to each policy.

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

No branches or pull requests

2 participants