18 lines
493 B
Go
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",
|
|
}
|
|
}
|