(option string, nativeValue any)
| 139 | } |
| 140 | |
| 141 | func (b *Buffer) SetOptionNative(option string, nativeValue any) error { |
| 142 | if err := config.OptionIsValid(option, nativeValue); err != nil { |
| 143 | return err |
| 144 | } |
| 145 | |
| 146 | b.DoSetOptionNative(option, nativeValue) |
| 147 | b.LocalSettings[option] = true |
| 148 | |
| 149 | return nil |
| 150 | } |
| 151 | |
| 152 | // SetOption sets a given option to a value just for this buffer |
| 153 | func (b *Buffer) SetOption(option, value string) error { |
no test coverage detected