mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-23 01:07:16 +09:00
Add support for making buffer local options in settings.json
This commit is contained in:
@@ -93,6 +93,8 @@ func NewBuffer(txt []byte, path string) *Buffer {
|
||||
buf: b,
|
||||
}
|
||||
|
||||
InitLocalSettings(b)
|
||||
|
||||
if b.Settings["savecursor"].(bool) || b.Settings["saveundo"].(bool) {
|
||||
// If either savecursor or saveundo is turned on, we need to load the serialized information
|
||||
// from ~/.config/micro/buffers
|
||||
|
||||
Reference in New Issue
Block a user