Minga.Config (minga_sdk v0.1.1)

Copy Markdown View Source

Reads editor configuration from extension callbacks. The SDK declaration is compile-time only.

Summary

Functions

Returns the configured value for the named extension option.

Types

type_descriptor()

@type type_descriptor() ::
  :pos_integer
  | :non_neg_integer
  | :integer
  | :boolean
  | :atom
  | {:enum, [atom()]}
  | :theme_atom
  | :string
  | :string_or_nil
  | :string_list
  | :atom_list
  | :map_or_nil
  | :map_list
  | :float_or_nil
  | :any

Functions

get_extension_option(extension, option)

@spec get_extension_option(atom(), atom()) :: term()

Returns the configured value for the named extension option.