vint icon indicating copy to clipboard operation
vint copied to clipboard

Configuration for ProhibitAbbreviationOption

Open wrengr opened this issue 3 years ago • 0 comments

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.

wrengr avatar Sep 17 '21 08:09 wrengr