Function chorus.autocmd.create

chorus.autocmd.create(spec: chorus.autocmd.Spec): (ids: integer?...)

Create autocommands

Also available by invoking chorus.autocmd as a function (or just autocmd with the default prelude)

Parameters:

spec (chorus.autocmd.Spec) – The specification

Returns:

ids (integer?...) – All created autocommands