Class chorus.opt.Spec

class chorus.opt.Spec

Option spec

buffer: (boolean | integer)?

Set options locally in the given buffer; 0 or true means the current buffer. This mode uses vim.bo and doesn’t support methods as detailed below.

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

Options

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

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

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