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

Configuration for ProhibitAbbreviationOption #376

Open
wrengr opened this issue Sep 17, 2021 · 0 comments
Open

Configuration for ProhibitAbbreviationOption #376

wrengr opened this issue Sep 17, 2021 · 0 comments

Comments

@wrengr
Copy link

wrengr commented Sep 17, 2021

I would like ProhibitAbbreviationOption to have an ignored_patterns field like ProhibitUnusedVariable has (see #266). Or something sufficiently similar (since using regexes really doesn't seem necessary here).

More specifically, I'd like to disable warnings for using &cpo (while leaving warnings on for other options) because of the idiom discussed by :h use-cpo-save. This idiom is basically required in every plugin/autoload file, so it should be easily recognizable, and thus doesn't elicit the problems associated with using other abbreviations.

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

1 participant