Gim/internal/core/settings.go
2026-04-09 14:36:18 -07:00

18 lines
493 B
Go

package core
// EditorSettings: Configuration options for editor display and behavior.
type EditorSettings struct {
TabStop int
CurrentTheme string
}
// NewDefaultSettings: Creates a Settings struct with sensible defaults for
// line numbers, gutter width, tab size, and scroll offset.
func NewDefaultSettings() EditorSettings {
return EditorSettings{
TabStop: 2,
// TODO: This should be "default" but until we have a startup config, this is fine
CurrentTheme: "default",
}
}