Class chorus.opt.Spec

class chorus.opt.Spec

Option spec

scope: ("default" | "local" | "global" | "buffer" | "window")?

Scope in which option should be set "buffer" and "window" scopes don’t support methods below other than set.

[string]: (any | chorus.opt.Method)

Options

  1. <key> = <value>: Performs vim.<scope>.<key> = <value>

  2. <key> = { <method> = { <value> ...}, ... }: Performs vim.<scope>.<key>:<method>{ <value> ... }...

  3. <key> = { set = <value>, ...}: Performs vim.<scope>.<key> = <value> (alternate syntax)