MCPcopy
hub / github.com/micro-editor/micro / GetGlobalOption

Function GetGlobalOption

internal/config/settings.go:433–435  ·  view source on GitHub ↗

GetGlobalOption returns the global value of the given option

(name string)

Source from the content-addressed store, hash-verified

431
432// GetGlobalOption returns the global value of the given option
433func GetGlobalOption(name string) any {
434 return GlobalSettings[name]
435}
436
437func defaultFileFormat() string {
438 if runtime.GOOS == "windows" {

Callers 15

ResizeMethod · 0.92
DisplayMethod · 0.92
updateDisplayInfoMethod · 0.92
displayStatusLineMethod · 0.92
displayScrollBarMethod · 0.92
drawNodeMethod · 0.92
DisplayMethod · 0.92
DisplayMethod · 0.92
ToggleKeyMenuMethod · 0.92
InitTabsFunction · 0.92
toggleOptionMethod · 0.92
UseFakeFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected