The checks are:
- whether emulate -L -o … or setopt has been used,
- whether fun-name() { preamble exists within an autoload function (it's good practice to help Ctags recognizing the function),
- whether certain, useful options has been given, like localoptions, typesetsilent, extendedglob, etc.
- whether -F option has been given to zparseopts (toggles error detection),
- whether -U option has been given to autoload,
- whether 0=… assignment exists,
- and whether 0= has a standard form,
- also, if variable being array is appended without (…), ie. arr+=elem instead of arr+=(elem)
Does someone have any idea of some new checks to add?