micro

package
v2.1.3 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2021 License: MIT Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CleanConfig

func CleanConfig()

CleanConfig performs cleanup in the user's configuration directory

func DoEvent

func DoEvent()

DoEvent runs the Open action loop of the editor

func DoPluginFlags

func DoPluginFlags()

DoPluginFlags parses and executes any flags that require LoadAllPlugins (-plugin and -clean)

func InitFlags

func InitFlags()

func InitLog

func InitLog()

InitLog sets up the debug log system for micro if it has been enabled by compile-time variables

func LoadInput

func LoadInput(args []string) []*buffer.Buffer

LoadInput determines which files should be loaded into buffers based on the input stored in flag.Args()

func LuaImport

func LuaImport(pkg string) *lua.LTable

LuaImport is meant to be called from lua by a plugin and will import the given micro package

func Open

func Open(filePath string)

Types

type NullWriter

type NullWriter struct{}

NullWriter simply sends writes into the void

func (NullWriter) Write

func (NullWriter) Write(data []byte) (n int, err error)

Write is empty

Jump to

Keyboard shortcuts

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