sublime

package
v0.0.0-...-52b1b20 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 21, 2020 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AgentName = "margo.sublime"
)

Variables

View Source
var (
	Commands = mgcli.Commands{
		Name: AgentName,
		Build: &cli.Command{
			Action: mgcli.Action(buildAction),
		},
		Run: &cli.Command{
			SkipFlagParsing: true,
			SkipArgReorder:  true,
			Action:          mgcli.Action(runAction),
		},
	}
)

Functions

func Margo

func Margo(ma mg.Args)

Types

type Config

type Config struct {
	Values ConfigValues
}
var (
	DefaultConfig Config = Config{}.EnabledForLangs("*").(Config)
)

func (Config) Config

func (c Config) Config() mg.EditorConfig

func (Config) DisableCalltips

func (c Config) DisableCalltips() Config

func (Config) DisableGsComplete

func (c Config) DisableGsComplete() Config

func (Config) DisableGsFmt

func (c Config) DisableGsFmt() Config

func (Config) DisableGsLint

func (c Config) DisableGsLint() Config

func (Config) EditorConfig

func (c Config) EditorConfig() interface{}

func (Config) EnabledForLangs

func (c Config) EnabledForLangs(langs ...mg.Lang) mg.EditorConfig

func (Config) InhibitExplicitCompletions

func (c Config) InhibitExplicitCompletions() Config

func (Config) InhibitWordCompletions

func (c Config) InhibitWordCompletions() Config

type ConfigValues

type ConfigValues struct {
	EnabledForLangs            []mg.Lang
	InhibitExplicitCompletions bool
	InhibitWordCompletions     bool
	OverrideSettings           map[string]interface{}
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL