This commit is contained in:
Zachary Yedidia
2019-01-14 16:52:25 -05:00
parent eb49052a48
commit 224cbe5093
8 changed files with 90 additions and 45 deletions

View File

@@ -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()