Gim/internal/core/settings.go
Hayden Hargreaves 64c448c639
All checks were successful
Run Test Suite / test (push) Successful in 37s
test: updated tests and pulled theme into EditorSettings.
2026-04-08 17:19:32 -07:00

18 lines
494 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: "kanagawa",
}
}