mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-30 06:37:14 +09:00
Handle same file open in multiple buffers
This commit is contained in:
@@ -30,7 +30,7 @@ func (b *Buffer) SetOption(option, value string) error {
|
||||
} else if option == "filetype" {
|
||||
b.UpdateRules()
|
||||
} else if option == "fileformat" {
|
||||
b.isModified = true
|
||||
*b.isModified = true
|
||||
} else if option == "syntax" {
|
||||
if !nativeValue.(bool) {
|
||||
b.ClearMatches()
|
||||
|
||||
Reference in New Issue
Block a user