16 lines
372 B
Go
16 lines
372 B
Go
package core
|
|
|
|
// EditorSettings: Configuration options for editor display and behavior.
|
|
type EditorSettings struct {
|
|
TabStop int
|
|
// TODO: Colors
|
|
}
|
|
|
|
// 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,
|
|
}
|
|
}
|