Documentation ¶
Index ¶
Constants ¶
View Source
const Key = model.ManagerKey("fslibrary")
Variables ¶
This section is empty.
Functions ¶
func Description ¶
func Description(config *Config) model.ManagerDescription
Types ¶
type Config ¶
type Config struct { Enabled bool `yaml:"enabled" head_comment:"If set to false, the files specified via libraryPath will not be provided to you."` LibraryPath []string `yaml:"libraryPath" head_comment:"Paths directories that hold snippets files. Each file must hold one snippet only."` SuffixRegex []string `yaml:"suffixRegex" head_comment:"Only files with endings which match one of the listed suffixes will be considered."` LazyOpen bool `` /* 150-byte string literal not displayed */ HideTitleInPreview bool `yaml:"hideTitleInPreview" head_comment:"If set to true, the title comment will not be shown in the preview window."` }
func AutoDiscoveryConfig ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func NewManager ¶
func (*Manager) GetSnippets ¶
func (Manager) Key ¶ added in v1.1.0
func (m Manager) Key() model.ManagerKey
func (*Manager) Sync ¶ added in v1.1.0
func (m *Manager) Sync(model.SyncEventChannel)
Click to show internal directories.
Click to hide internal directories.