config

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2018 License: MIT Imports: 4 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AOJConfig

type AOJConfig struct {
	API              string `default:"https://judgeapi.u-aizu.ac.jp"`
	DataAPI          string `default:"https://judgedat.u-aizu.ac.jp"`
	ResultBufferName string `default:"AOJ Status"`
	Mode             string `default:"release"`
	ID               string `default:""`
	RawPassword      string `default:""`
}

func GetConfig

func GetConfig() AOJConfig

type VSConfig

type VSConfig struct {
	Commands map[string]struct {
		Language     string   `json:"language"`
		BuildCommand []string `json:"build_command"`
		ExecCommand  []string `json:"exec_command"`
	} `json:"commands"`
}

func GetVSConfig

func GetVSConfig(v *nvim.Nvim) (*VSConfig, error)

Jump to

Keyboard shortcuts

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