class CmpLayer#
- supers: Layer
methods#
CmpLayer.packages#
function CmpLayer.packages() -> (PackageSlug|Package)[]
CmpLayer.dependencies#
function CmpLayer.dependencies() -> LayerId[]
CmpLayer.preload#
function CmpLayer.preload() -> nil
CmpLayer.load#
function CmpLayer.load() -> nil
CmpLayer.add_source#
function CmpLayer.add_source(source: table) -> nil
@param source
- The source completion object
Adds a completion source object
CmpLayer.set_snippet#
function CmpLayer.set_snippet(snippet: table) -> nil
@param snippet
- The snippet object
Sets the completion snippet handler
fields#
CmpLayer.sources#
CmpLayer.sources: table
CmpLayer.snippet#
CmpLayer.snippet: table
CmpLayer.default_config#
CmpLayer.default_config: table