Documentation ¶
Overview ¶
The packages package handles lime package management.
The key idea of lime packages is modularity/optionality. The core backend shouldn't know about tmbundle nor sublime-package, but rather it should make it possible to use these and other variants. @quarnster Ideally packages implemented in such a way that we can just do: import ( _ "github.com/limetext/lime/backend/textmate" _ "github.com/limetext/lime/backend/sublime" _ "github.com/limetext/lime/backend/emacs" )
Package type ¶
Each plugin or package that wants to communicate with backend should implement this interface.
Record type ¶
For enabling lime to detect and load a package it should register itself as a Record
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadJSON ¶
func LoadJSON(path string, marshal json.Unmarshaler) error
Won't return the json type itself just watch & load
func Unregister ¶
func Unregister(r *Record)
Types ¶
type JSON ¶
Helper type for loading json files(e.g keymaps settings)