Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SnippetManager ¶
type SnippetManager struct {
// contains filtered or unexported fields
}
func Load ¶
func Load(l *log.Logger, configdir string) (*SnippetManager, error)
Load snippets from file system and add to the snippet manager.
func NewSnippetManager ¶
func NewSnippetManager(l *log.Logger) *SnippetManager
func (*SnippetManager) AddConfig ¶
func (m *SnippetManager) AddConfig(bs []byte) error
func (*SnippetManager) AddFiletypeSnippets ¶
func (m *SnippetManager) AddFiletypeSnippets(filetype string, content []byte) error
func (*SnippetManager) AddGlobalSnippets ¶
func (m *SnippetManager) AddGlobalSnippets(content []byte) error
Click to show internal directories.
Click to hide internal directories.