preferences

package
v0.0.0-...-586e974 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2019 License: BSD-2-Clause, BSD-2-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Preferences

type Preferences struct {
	Name     string
	Scope    string
	Settings Settings `json:"settings"`
	UUID     string
}

for loading tmPreferences files

func Load

func Load(filename string) (*Preferences, error)

func (Preferences) String

func (m Preferences) String() string

type Settings

type Settings struct {
	IncreaseIndentPattern        textmate.Regex
	DecreaseIndentPattern        textmate.Regex
	BracketIndentNextLinePattern textmate.Regex
	DisableIndentNextLinePattern textmate.Regex
	UnIndentedLinePattern        textmate.Regex
	CancelCompletion             textmate.Regex
	ShowInSymbolList             int
	ShowInIndexedSymbolList      int
	SymbolTransformation         textmate.Regex
	SymbolIndexTransformation    textmate.Regex
	ShellVariables               ShellVariables
}

func (Settings) String

func (m Settings) String() string

type ShellVariables

type ShellVariables map[string]string

func (ShellVariables) String

func (s ShellVariables) String() (ret string)

func (*ShellVariables) UnmarshalJSON

func (s *ShellVariables) UnmarshalJSON(data []byte) error

Jump to

Keyboard shortcuts

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